Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL") translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08596/0.08596, allocations: 12.59 MB / 28.22 MB, free: 1.074 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 111.4 kB / 31.84 MB, free: 4.012 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4549/0.4549, allocations: 78.5 MB / 419.3 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 137 kB / 0.5558 GB, free: 28.53 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1643, allocations: 68.13 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.007445/0.1718, allocations: 7.059 MB / 0.6293 GB, free: 8.344 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00455/0.1763, allocations: 2.177 MB / 0.6314 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006095/0.177, allocations: 8 kB / 0.6314 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006893/0.1777, allocations: 273.7 kB / 0.6317 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.1807, allocations: 1.154 MB / 0.6328 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.182, allocations: 0.5534 MB / 0.6333 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.1843, allocations: 1.897 MB / 0.6352 GB, free: 2.277 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004501/0.1847, allocations: 328 kB / 0.6355 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007064/0.1854, allocations: 0.7159 MB / 0.6362 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009957/0.1864, allocations: 0.9531 MB / 0.6371 GB, free: 260 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.1867, allocations: 136 kB / 0.6373 GB, free: 124 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000683/0.1874, allocations: 355.8 kB / 0.6376 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.1877, allocations: 366.5 kB / 0.638 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006665/0.1884, allocations: 0.7458 MB / 0.6387 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.1904, allocations: 1.871 MB / 0.6405 GB, free: 12.79 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1904, allocations: 0 / 0.6405 GB, free: 12.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1904, allocations: 3.938 kB / 0.6405 GB, free: 12.78 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.1904, allocations: 0 / 0.6405 GB, free: 12.78 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.01303/0.2035, allocations: 3.64 MB / 0.6441 GB, free: 9.082 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.2035, allocations: 11.98 kB / 0.6441 GB, free: 9.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004452/0.208, allocations: 0.7171 MB / 0.6448 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.2095, allocations: 0.9038 MB / 0.6457 GB, free: 7.395 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/0.2099, allocations: 353.5 kB / 0.646 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.2101, allocations: 88 kB / 0.6461 GB, free: 6.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.2125, allocations: 1.219 MB / 0.6473 GB, free: 5.676 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.2125, allocations: 7.984 kB / 0.6473 GB, free: 5.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/0.2126, allocations: 32 kB / 0.6473 GB, free: 5.637 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2126, allocations: 16 kB / 0.6473 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.2151, allocations: 1.152 MB / 0.6484 GB, free: 4.473 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006969/0.2221, allocations: 4.084 MB / 0.6524 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007801/0.2299, allocations: 2.64 MB / 0.655 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/0.2318, allocations: 0.8211 MB / 0.6558 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.232, allocations: 24.89 kB / 0.6558 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.232, allocations: 39.56 kB / 0.6559 GB, free: 12.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=107): time 3.276e-06/0.232, allocations: 4 kB / 0.6559 GB, free: 12.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=107): time 0.0419/0.274, allocations: 9.727 MB / 0.6654 GB, free: 2.754 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/0.2741, allocations: 90.11 kB / 0.6655 GB, free: 2.648 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.2761, allocations: 1.089 MB / 0.6665 GB, free: 1.547 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003371/0.2764, allocations: 45.7 kB / 0.6666 GB, free: 1.496 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.2769, allocations: 0.4941 MB / 0.6671 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005987/0.2775, allocations: 408.5 kB / 0.6674 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006691/0.2782, allocations: 275.5 kB / 0.6677 GB, free: 328 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.2783, allocations: 301.1 kB / 0.668 GB, free: 24 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/0.2804, allocations: 0.8511 MB / 0.6688 GB, free: 15.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.2825, allocations: 1.03 MB / 0.6698 GB, free: 14.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/0.2864, allocations: 1.867 MB / 0.6717 GB, free: 12.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.2864, allocations: 0 / 0.6717 GB, free: 12.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01292/0.2994, allocations: 4.26 MB / 0.6758 GB, free: 7.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.2994, allocations: 14.97 kB / 0.6758 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.2995, allocations: 4 kB / 0.6758 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008839/0.3083, allocations: 2.357 MB / 0.6781 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.3098, allocations: 239.6 kB / 0.6784 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006438/0.3162, allocations: 2.599 MB / 0.6809 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.3184, allocations: 207 kB / 0.6811 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/0.3187, allocations: 55.98 kB / 0.6812 GB, free: 2.418 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(28,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0006481/0.3194, allocations: 255.6 kB / 0.6814 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/0.3198, allocations: 143 kB / 0.6815 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/0.3358, allocations: 4.617 MB / 0.686 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.3358, allocations: 15.94 kB / 0.6861 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.3359, allocations: 0 / 0.6861 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.178e-05/0.3359, allocations: 3.984 kB / 0.6861 GB, free: 13.36 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/0.3544, allocations: 6.318 MB / 0.6922 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.3544, allocations: 0 / 0.6922 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/0.3551, allocations: 107.9 kB / 0.6923 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007759/0.3629, allocations: 2.149 MB / 0.6944 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/0.3633, allocations: 20 kB / 0.6945 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02744/0.3907, allocations: 10.06 MB / 0.7043 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.3908, allocations: 8 kB / 0.7043 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01812/0.4089, allocations: 5.673 MB / 0.7098 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006739/0.4096, allocations: 239.9 kB / 0.71 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004964/0.4101, allocations: 20 kB / 0.7101 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.4118, allocations: 107.9 kB / 0.7102 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009967/0.4129, allocations: 241 kB / 0.7104 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/0.413, allocations: 28 kB / 0.7104 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001328/0.4144, allocations: 0.7286 MB / 0.7111 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4144, allocations: 4 kB / 0.7111 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002057/0.4165, allocations: 475.6 kB / 0.7116 GB, free: 2.863 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004247/0.4169, allocations: 135.2 kB / 0.7117 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008319/0.4252, allocations: 2.552 MB / 0.7142 GB, free: 176 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4253, allocations: 0 / 0.7142 GB, free: 176 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.4045/0.8298, allocations: 1.803 MB / 0.716 GB, free: 87.26 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.8314, allocations: 107.2 kB / 0.7161 GB, free: 87.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/0.8369, allocations: 2.499 MB / 0.7185 GB, free: 86.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.838, allocations: 1.121 MB / 0.7196 GB, free: 85.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006611/0.8386, allocations: 109.2 kB / 0.7197 GB, free: 85.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.839, allocations: 82.95 kB / 0.7198 GB, free: 85.49 MB / 0.5137 GB Notification: Performance of SimCode: time 1.393e-06/0.839, allocations: 0 / 0.7198 GB, free: 85.49 MB / 0.5137 GB Notification: Performance of Templates: time 0.0497/0.8887, allocations: 26.45 MB / 0.7456 GB, free: 74.67 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)