Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1148/0.1148, allocations: 12.6 MB / 28.9 MB, free: 0.5938 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.001278/0.001278, allocations: 111.5 kB / 32.5 MB, free: 3.539 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.387/1.387, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001524/0.001524, allocations: 196.4 kB / 291.4 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.4463/0.4463, allocations: 78.52 MB / 420 MB, free: 11.27 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.004073/0.004073, allocations: 139.9 kB / 0.5565 GB, free: 28.32 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1166, allocations: 68.13 MB / 0.623 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01568/0.1322, allocations: 15.06 MB / 0.6378 GB, free: 312 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009386/0.1416, allocations: 4.589 MB / 0.6422 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.1439, allocations: 28 kB / 0.6423 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.1459, allocations: 0.7829 MB / 0.643 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006983/0.1529, allocations: 2.564 MB / 0.6455 GB, free: 8.336 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.156, allocations: 1.337 MB / 0.6468 GB, free: 7.016 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006696/0.1627, allocations: 4.895 MB / 0.6516 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009979/0.1637, allocations: 0.5301 MB / 0.6521 GB, free: 1.535 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.1663, allocations: 1.883 MB / 0.654 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.1692, allocations: 2.455 MB / 0.6564 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000685/0.1699, allocations: 404 kB / 0.6568 GB, free: 12.79 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.171, allocations: 0.6325 MB / 0.6574 GB, free: 12.15 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008521/0.1719, allocations: 0.9767 MB / 0.6583 GB, free: 11.17 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.1738, allocations: 2.005 MB / 0.6603 GB, free: 9.156 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005817/0.1797, allocations: 5.338 MB / 0.6655 GB, free: 3.797 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1797, allocations: 0 / 0.6655 GB, free: 3.797 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1797, allocations: 4 kB / 0.6655 GB, free: 3.793 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.101e-05/0.1797, allocations: 0 / 0.6655 GB, free: 3.793 MB / 478.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.04066/0.2204, allocations: 9.645 MB / 0.6749 GB, free: 10.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2204, allocations: 19.91 kB / 0.6749 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.2322, allocations: 1.765 MB / 0.6767 GB, free: 8.277 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004075/0.2363, allocations: 2.189 MB / 0.6788 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008131/0.2371, allocations: 0.6741 MB / 0.6795 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005263/0.2376, allocations: 239.9 kB / 0.6797 GB, free: 5.031 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00617/0.2438, allocations: 2.682 MB / 0.6823 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.2438, allocations: 0 / 0.6823 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.2441, allocations: 79.98 kB / 0.6824 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/0.2441, allocations: 48 kB / 0.6824 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006675/0.2508, allocations: 2.834 MB / 0.6852 GB, free: 15.38 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 preOpt removeSimpleEquations (simulation): time 0.02043/0.2712, allocations: 11.01 MB / 0.6959 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.2842, allocations: 4.757 MB / 0.7006 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004226/0.2885, allocations: 1.743 MB / 0.7023 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.2887, allocations: 49.89 kB / 0.7023 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/0.2887, allocations: 56.56 kB / 0.7024 GB, free: 13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 4.539e-06/0.2888, allocations: 0 / 0.7024 GB, free: 13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.3823/0.6711, allocations: 29.47 MB / 0.7312 GB, free: 77.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.6711, allocations: 76.98 kB / 0.7313 GB, free: 77.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003933/0.675, allocations: 2.903 MB / 0.7341 GB, free: 76.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007085/0.6758, allocations: 86.45 kB / 0.7342 GB, free: 76.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007968/0.6766, allocations: 1.276 MB / 0.7354 GB, free: 75.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008972/0.6774, allocations: 0.9436 MB / 0.7363 GB, free: 74.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.6786, allocations: 0.7534 MB / 0.7371 GB, free: 74.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.473e-05/0.6787, allocations: 302.5 kB / 0.7374 GB, free: 74.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004436/0.6831, allocations: 2.283 MB / 0.7396 GB, free: 72.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004552/0.6877, allocations: 2.675 MB / 0.7422 GB, free: 71.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008743/0.6964, allocations: 4.852 MB / 0.7469 GB, free: 68.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/0.6964, allocations: 0 / 0.7469 GB, free: 68.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01395/0.7104, allocations: 7.157 MB / 0.7539 GB, free: 64.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.7104, allocations: 8.688 kB / 0.7539 GB, free: 64.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.7104, allocations: 8 kB / 0.7539 GB, free: 64.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01801/0.7284, allocations: 5.733 MB / 0.7595 GB, free: 58.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003246/0.7317, allocations: 0.6631 MB / 0.7602 GB, free: 57.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.7445, allocations: 5.451 MB / 0.7655 GB, free: 52.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004649/0.7491, allocations: 0.5214 MB / 0.766 GB, free: 51.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004938/0.7496, allocations: 136 kB / 0.7662 GB, free: 51.7 MB / 0.5137 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.00126/0.7509, allocations: 0.5166 MB / 0.7667 GB, free: 51.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/0.7516, allocations: 353.7 kB / 0.767 GB, free: 50.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03368/0.7853, allocations: 10.44 MB / 0.7772 GB, free: 40.33 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.7853, allocations: 24 kB / 0.7772 GB, free: 40.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.7853, allocations: 3.938 kB / 0.7772 GB, free: 40.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.106e-05/0.7854, allocations: 11.95 kB / 0.7772 GB, free: 40.29 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.04021/0.8256, allocations: 14.54 MB / 0.7914 GB, free: 25.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/0.8256, allocations: 4 kB / 0.7914 GB, free: 25.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.8271, allocations: 258.1 kB / 0.7917 GB, free: 25.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01585/0.843, allocations: 4.765 MB / 0.7963 GB, free: 20.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007603/0.8438, allocations: 55.98 kB / 0.7964 GB, free: 20.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05224/0.896, allocations: 21.48 MB / 0.8174 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.896, allocations: 0 / 0.8174 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04416/0.9402, allocations: 12.75 MB / 0.8298 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.9414, allocations: 0.5027 MB / 0.8303 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006155/0.942, allocations: 48.88 kB / 0.8304 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00315/0.9452, allocations: 247.7 kB / 0.8306 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001862/0.947, allocations: 0.514 MB / 0.8311 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/0.9472, allocations: 67.98 kB / 0.8312 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002962/0.9502, allocations: 1.885 MB / 0.833 GB, free: 14.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9502, allocations: 0 / 0.833 GB, free: 14.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003238/0.9534, allocations: 1.121 MB / 0.8341 GB, free: 13.76 MB / 0.545 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.0004753/0.9539, allocations: 188.5 kB / 0.8343 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01861/0.9725, allocations: 5.761 MB / 0.8399 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.9725, allocations: 0 / 0.8399 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01258/0.9851, allocations: 3.618 MB / 0.8434 GB, free: 4.164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.9874, allocations: 261.2 kB / 0.8437 GB, free: 3.906 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.9993, allocations: 6.386 MB / 0.8499 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/1.001, allocations: 1.841 MB / 0.8517 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001302/1.002, allocations: 292.9 kB / 0.852 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007679/1.003, allocations: 191.4 kB / 0.8522 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/1.003, allocations: 0 / 0.8522 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.1098/1.113, allocations: 62.22 MB / 0.9129 GB, free: 12.96 MB / 0.6231 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)