Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 110.9 kB / 16.37 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 195.7 kB / 290.3 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4613/0.4613, allocations: 78.52 MB / 419 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 87.88 kB / 498.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1263, allocations: 68.17 MB / 0.5538 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2288/0.3551, allocations: 14.96 MB / 0.5684 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00817/0.3633, allocations: 4.61 MB / 0.5729 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003496/0.3668, allocations: 26.28 kB / 0.5729 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002496/0.3694, allocations: 0.7735 MB / 0.5737 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00734/0.3768, allocations: 2.414 MB / 0.576 GB, free: 27.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003472/0.3802, allocations: 1.33 MB / 0.5773 GB, free: 27.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006462/0.3867, allocations: 4.899 MB / 0.5821 GB, free: 26.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.3882, allocations: 0.8005 MB / 0.5829 GB, free: 25.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.391, allocations: 1.881 MB / 0.5847 GB, free: 24.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/0.394, allocations: 2.452 MB / 0.5871 GB, free: 23.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001412/0.3954, allocations: 404.5 kB / 0.5875 GB, free: 23.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.3978, allocations: 0.6269 MB / 0.5881 GB, free: 23.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.3991, allocations: 0.9655 MB / 0.5891 GB, free: 23.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00308/0.4022, allocations: 2.017 MB / 0.591 GB, free: 21.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006109/0.4083, allocations: 5.318 MB / 0.5962 GB, free: 19.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4083, allocations: 5.125 kB / 0.5962 GB, free: 19.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4083, allocations: 0 / 0.5962 GB, free: 19.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001599/0.4085, allocations: 0 / 0.5962 GB, free: 19.4 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03839/0.4469, allocations: 9.512 MB / 0.6055 GB, free: 16.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.447, allocations: 10.47 kB / 0.6055 GB, free: 16.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.4582, allocations: 1.757 MB / 0.6073 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004954/0.4632, allocations: 2.169 MB / 0.6094 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000734/0.4639, allocations: 0.665 MB / 0.61 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007763/0.4647, allocations: 245 kB / 0.6103 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006903/0.4716, allocations: 2.689 MB / 0.6129 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.4717, allocations: 0 / 0.6129 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/0.4719, allocations: 79.41 kB / 0.613 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.472, allocations: 46.31 kB / 0.613 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00634/0.4783, allocations: 2.834 MB / 0.6158 GB, free: 11.92 MB / 430.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.01868/0.4971, allocations: 10.99 MB / 0.6265 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.5074, allocations: 4.973 MB / 0.6314 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003857/0.5112, allocations: 1.935 MB / 0.6332 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003315/0.5116, allocations: 37.95 kB / 0.6333 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.5116, allocations: 56.56 kB / 0.6333 GB, free: 12.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.939e-06/0.5117, allocations: 4 kB / 0.6333 GB, free: 12.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.121/0.6326, allocations: 29.56 MB / 0.6622 GB, free: 15.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.6327, allocations: 81.39 kB / 0.6623 GB, free: 14.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005517/0.6383, allocations: 2.902 MB / 0.6651 GB, free: 12.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009978/0.6393, allocations: 81.7 kB / 0.6652 GB, free: 11.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.6407, allocations: 1.262 MB / 0.6664 GB, free: 10.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001738/0.6425, allocations: 0.8975 MB / 0.6673 GB, free: 9.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003233/0.6457, allocations: 0.7443 MB / 0.668 GB, free: 8.992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6459, allocations: 305.1 kB / 0.6683 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005553/0.6514, allocations: 2.284 MB / 0.6706 GB, free: 6.398 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005792/0.6572, allocations: 2.681 MB / 0.6732 GB, free: 3.625 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.6675, allocations: 4.847 MB / 0.6779 GB, free: 14.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.076e-05/0.6676, allocations: 7.938 kB / 0.6779 GB, free: 14.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01757/0.6852, allocations: 7.22 MB / 0.685 GB, free: 7.453 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.6852, allocations: 8 kB / 0.685 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.6853, allocations: 4 kB / 0.685 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0188/0.7041, allocations: 5.737 MB / 0.6906 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003584/0.7077, allocations: 0.6632 MB / 0.6912 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/0.7215, allocations: 5.446 MB / 0.6965 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005484/0.7271, allocations: 0.5128 MB / 0.697 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008688/0.7279, allocations: 132 kB / 0.6972 GB, free: 10.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (410): * Single equations (assignments): 409 * 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 {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.001947/0.7299, allocations: 0.5285 MB / 0.6977 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/0.7311, allocations: 331.8 kB / 0.698 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03249/0.7636, allocations: 10.52 MB / 0.7083 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-05/0.7636, allocations: 27.94 kB / 0.7083 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.7637, allocations: 1.688 kB / 0.7083 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.729e-05/0.7637, allocations: 11.95 kB / 0.7083 GB, free: 15.41 MB / 0.5137 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.04167/0.8054, allocations: 14.63 MB / 0.7226 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/0.8055, allocations: 0 / 0.7226 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/0.8072, allocations: 259.6 kB / 0.7228 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01538/0.8226, allocations: 4.765 MB / 0.7275 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005947/0.8232, allocations: 48 kB / 0.7275 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05318/0.8764, allocations: 21.45 MB / 0.7485 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.8765, allocations: 8.703 kB / 0.7485 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03981/0.9163, allocations: 12.82 MB / 0.761 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/0.9181, allocations: 0.4892 MB / 0.7615 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001383/0.9195, allocations: 41.19 kB / 0.7615 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003777/0.9232, allocations: 251.7 kB / 0.7618 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002085/0.9254, allocations: 0.5217 MB / 0.7623 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004334/0.9258, allocations: 60 kB / 0.7623 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003452/0.9293, allocations: 1.877 MB / 0.7642 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9293, allocations: 4 kB / 0.7642 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004581/0.9339, allocations: 1.124 MB / 0.7653 GB, free: 4.547 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * 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 (156): * Single equations (assignments): 155 * 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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006729/0.9346, allocations: 184.3 kB / 0.7654 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2204/1.155, allocations: 6.152 MB / 0.7715 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.155, allocations: 0 / 0.7715 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0106/1.166, allocations: 3.789 MB / 0.7752 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/1.168, allocations: 267 kB / 0.7754 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009876/1.178, allocations: 6.274 MB / 0.7815 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.179, allocations: 1.842 MB / 0.7833 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001342/1.181, allocations: 293.5 kB / 0.7836 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007159/1.181, allocations: 192.9 kB / 0.7838 GB, free: 169 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/1.181, allocations: 0 / 0.7838 GB, free: 169 MB / 0.5606 GB Notification: Performance of Templates: time 0.08788/1.269, allocations: 61.18 MB / 0.8435 GB, free: 134 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)