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/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/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/package.mo): time 0.1235/0.1235, allocations: 12.2 MB / 27.47 MB, free: 0.9258 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.001011/0.001011, allocations: 103.5 kB / 31 MB, free: 4.531 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.715/1.715, allocations: 205.4 MB / 239.8 MB, free: 11.45 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.00173/0.00173, allocations: 180.5 kB / 291 MB, free: 13.28 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5397/0.5397, allocations: 78.54 MB / 420.5 MB, free: 48.57 MB / 334.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.0009571/0.0009571, allocations: 35.44 kB / 0.4901 GB, free: 2.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4838/0.4848, allocations: 69.22 MB / 0.5577 GB, free: 43.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01328/0.4982, allocations: 15.12 MB / 0.5725 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.5121, allocations: 4.653 MB / 0.577 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00545/0.5177, allocations: 31.38 kB / 0.577 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003455/0.5211, allocations: 0.6221 MB / 0.5776 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009749/0.5309, allocations: 2.171 MB / 0.5798 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.5344, allocations: 1.238 MB / 0.581 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008232/0.5427, allocations: 4.612 MB / 0.5855 GB, free: 26.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.5443, allocations: 0.6968 MB / 0.5862 GB, free: 26.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.5476, allocations: 1.604 MB / 0.5877 GB, free: 25.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004157/0.5517, allocations: 2.204 MB / 0.5899 GB, free: 24.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001403/0.5532, allocations: 184.4 kB / 0.59 GB, free: 24.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.5551, allocations: 413.8 kB / 0.5904 GB, free: 24.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006071/0.5557, allocations: 0.7436 MB / 0.5912 GB, free: 24.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.5577, allocations: 1.79 MB / 0.5929 GB, free: 22.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006184/0.5639, allocations: 4.999 MB / 0.5978 GB, free: 21.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.5639, allocations: 0 / 0.5978 GB, free: 21.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.718e-06/0.5639, allocations: 0 / 0.5978 GB, free: 21.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001938/0.5641, allocations: 4 kB / 0.5978 GB, free: 21.23 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.03903/0.6032, allocations: 9.084 MB / 0.6067 GB, free: 18.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.6032, allocations: 13.14 kB / 0.6067 GB, free: 18.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/0.616, allocations: 1.765 MB / 0.6084 GB, free: 18.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005392/0.6214, allocations: 2.167 MB / 0.6105 GB, free: 16.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007811/0.6223, allocations: 0.6863 MB / 0.6112 GB, free: 16.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009217/0.6232, allocations: 251.3 kB / 0.6114 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006549/0.6297, allocations: 2.864 MB / 0.6142 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.6298, allocations: 1.5 kB / 0.6142 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/0.63, allocations: 75.03 kB / 0.6143 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.6301, allocations: 47 kB / 0.6144 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007341/0.6375, allocations: 3.035 MB / 0.6173 GB, free: 12.99 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.02289/0.6604, allocations: 11.19 MB / 0.6282 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/0.6732, allocations: 5.682 MB / 0.6338 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005481/0.6787, allocations: 2.107 MB / 0.6359 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003625/0.6791, allocations: 45.95 kB / 0.6359 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.03e-05/0.6792, allocations: 56.56 kB / 0.6359 GB, free: 11.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.699e-06/0.6792, allocations: 0 / 0.6359 GB, free: 11.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1388/0.818, allocations: 35.72 MB / 0.6708 GB, free: 7.434 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.8181, allocations: 81.34 kB / 0.6709 GB, free: 7.344 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004854/0.823, allocations: 2.91 MB / 0.6738 GB, free: 4.434 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001079/0.8241, allocations: 81.7 kB / 0.6738 GB, free: 4.348 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.8252, allocations: 1.256 MB / 0.6751 GB, free: 3.078 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00143/0.8267, allocations: 0.9013 MB / 0.6759 GB, free: 2.164 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006309/0.8273, allocations: 394.6 kB / 0.6763 GB, free: 1.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8274, allocations: 309.1 kB / 0.6766 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005419/0.8329, allocations: 2.46 MB / 0.679 GB, free: 15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005726/0.8386, allocations: 2.855 MB / 0.6818 GB, free: 12.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.8498, allocations: 5.214 MB / 0.6869 GB, free: 6.758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.8499, allocations: 7.938 kB / 0.6869 GB, free: 6.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01813/0.868, allocations: 7.763 MB / 0.6945 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.8681, allocations: 8 kB / 0.6945 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.8682, allocations: 4 kB / 0.6945 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02091/0.8891, allocations: 6.566 MB / 0.7009 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003871/0.893, allocations: 0.6631 MB / 0.7016 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/0.9087, allocations: 6.153 MB / 0.7076 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006058/0.9148, allocations: 0.5938 MB / 0.7081 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006586/0.9155, allocations: 140 kB / 0.7083 GB, free: 0.8086 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.001503/0.917, allocations: 0.5207 MB / 0.7088 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008923/0.9179, allocations: 335.7 kB / 0.7091 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04002/0.9579, allocations: 12.87 MB / 0.7217 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/0.958, allocations: 27.94 kB / 0.7217 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.958, allocations: 0 / 0.7217 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.416e-05/0.9581, allocations: 11.95 kB / 0.7217 GB, free: 2.961 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.04693/1.005, allocations: 17.01 MB / 0.7383 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/1.005, allocations: 0 / 0.7383 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.007, allocations: 263.6 kB / 0.7386 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01777/1.025, allocations: 5.573 MB / 0.744 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008578/1.026, allocations: 51.98 kB / 0.7441 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0547/1.08, allocations: 22.04 MB / 0.7656 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.08, allocations: 4 kB / 0.7656 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3868/1.467, allocations: 15.33 MB / 0.7806 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002417/1.47, allocations: 0.495 MB / 0.781 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/1.472, allocations: 45.91 kB / 0.7811 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004021/1.476, allocations: 344.8 kB / 0.7814 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00206/1.478, allocations: 0.5058 MB / 0.7819 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/1.478, allocations: 64.53 kB / 0.782 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003228/1.481, allocations: 1.877 MB / 0.7838 GB, free: 171 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.1e-07/1.481, allocations: 3.969 kB / 0.7838 GB, free: 171 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004925/1.486, allocations: 1.119 MB / 0.7849 GB, free: 171 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.0005591/1.487, allocations: 180.9 kB / 0.7851 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01892/1.506, allocations: 6.833 MB / 0.7917 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.506, allocations: 0 / 0.7917 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01417/1.52, allocations: 4.269 MB / 0.7959 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/1.523, allocations: 268.3 kB / 0.7962 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/1.536, allocations: 7.747 MB / 0.8037 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/1.538, allocations: 1.848 MB / 0.8055 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001936/1.54, allocations: 291.6 kB / 0.8058 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008297/1.541, allocations: 180.2 kB / 0.806 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.694e-06/1.541, allocations: 5.531 kB / 0.806 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.08334/1.624, allocations: 54.01 MB / 0.8587 GB, free: 121 MB / 0.5606 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1) Environment - environmentSimulation: