Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008556/0.0008557, allocations: 173 kB / 15.42 MB, free: 5.801 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.8 MB / 239 MB, free: 108 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007381/0.0007382, allocations: 95.86 kB / 289.8 MB, free: 4.559 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3059/0.3059, allocations: 78.44 MB / 418.9 MB, free: 72 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 12 kB / 498.5 MB, free: 35.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3256, allocations: 68.74 MB / 0.554 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01303/0.3387, allocations: 15.75 MB / 0.5693 GB, free: 15.19 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.3497, allocations: 4.732 MB / 0.574 GB, free: 11.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003422/0.3532, allocations: 36 kB / 0.574 GB, free: 11.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.3552, allocations: 0.6222 MB / 0.5746 GB, free: 11.49 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006922/0.3622, allocations: 2.185 MB / 0.5767 GB, free: 10.06 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.3653, allocations: 1.239 MB / 0.5779 GB, free: 9.371 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006854/0.3721, allocations: 4.615 MB / 0.5825 GB, free: 7.18 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.3732, allocations: 0.6976 MB / 0.5831 GB, free: 6.828 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.3759, allocations: 1.601 MB / 0.5847 GB, free: 6.113 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002966/0.3789, allocations: 2.203 MB / 0.5869 GB, free: 4.859 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005763/0.3795, allocations: 186.1 kB / 0.587 GB, free: 4.859 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.3807, allocations: 409.2 kB / 0.5874 GB, free: 4.742 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006312/0.3814, allocations: 0.7438 MB / 0.5881 GB, free: 4.137 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.3831, allocations: 1.765 MB / 0.5899 GB, free: 2.828 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005111/0.3882, allocations: 5.004 MB / 0.5948 GB, free: 15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3882, allocations: 1.219 kB / 0.5948 GB, free: 15 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3882, allocations: 0 / 0.5948 GB, free: 15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001351/0.3884, allocations: 0 / 0.5948 GB, free: 15 MB / 410.7 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.03577/0.4241, allocations: 8.807 MB / 0.6034 GB, free: 8.727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.385e-05/0.4243, allocations: 15.97 kB / 0.6034 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001412/0.4257, allocations: 282.5 kB / 0.6036 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.4371, allocations: 1.748 MB / 0.6053 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004502/0.4416, allocations: 2.171 MB / 0.6075 GB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007307/0.4424, allocations: 0.6663 MB / 0.6081 GB, free: 3.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005303/0.4429, allocations: 243.8 kB / 0.6084 GB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005551/0.4485, allocations: 2.689 MB / 0.611 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.4486, allocations: 0 / 0.611 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.4488, allocations: 76 kB / 0.611 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.4488, allocations: 44 kB / 0.6111 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006005/0.4548, allocations: 2.842 MB / 0.6139 GB, free: 13.79 MB / 426.7 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.02028/0.4751, allocations: 11.06 MB / 0.6247 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/0.4866, allocations: 4.967 MB / 0.6295 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004169/0.4908, allocations: 1.931 MB / 0.6314 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.4912, allocations: 49.89 kB / 0.6314 GB, free: 11.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.4912, allocations: 56.56 kB / 0.6315 GB, free: 10.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.378e-06/0.4912, allocations: 0 / 0.6315 GB, free: 10.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1214/0.6126, allocations: 29.55 MB / 0.6604 GB, free: 13.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.6127, allocations: 85.39 kB / 0.6604 GB, free: 13.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004501/0.6173, allocations: 2.898 MB / 0.6633 GB, free: 10.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008298/0.6181, allocations: 85.7 kB / 0.6634 GB, free: 10.26 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.6192, allocations: 1.256 MB / 0.6646 GB, free: 8.988 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00133/0.6205, allocations: 0.8974 MB / 0.6655 GB, free: 8.078 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005751/0.6211, allocations: 394.6 kB / 0.6658 GB, free: 7.684 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6213, allocations: 309.1 kB / 0.6661 GB, free: 7.379 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004885/0.6261, allocations: 2.28 MB / 0.6684 GB, free: 5.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005221/0.6314, allocations: 2.673 MB / 0.671 GB, free: 2.324 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.6415, allocations: 4.858 MB / 0.6757 GB, free: 13.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.6416, allocations: 3.938 kB / 0.6757 GB, free: 13.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01606/0.6576, allocations: 7.228 MB / 0.6828 GB, free: 6.141 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.6577, allocations: 8 kB / 0.6828 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.6577, allocations: 4 kB / 0.6828 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01905/0.6768, allocations: 5.733 MB / 0.6884 GB, free: 400 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004082/0.681, allocations: 0.6631 MB / 0.689 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/0.6946, allocations: 5.447 MB / 0.6943 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005895/0.7005, allocations: 0.5078 MB / 0.6948 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008674/0.7014, allocations: 136 kB / 0.695 GB, free: 9.605 MB / 0.4948 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.00152/0.703, allocations: 0.5285 MB / 0.6955 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008694/0.7038, allocations: 331.7 kB / 0.6958 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03325/0.7371, allocations: 10.52 MB / 0.7061 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.045e-05/0.7372, allocations: 31.88 kB / 0.7061 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.7372, allocations: 4 kB / 0.7061 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.846e-05/0.7373, allocations: 11.95 kB / 0.7061 GB, free: 14.09 MB / 0.5105 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.03872/0.776, allocations: 14.65 MB / 0.7204 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.7761, allocations: 3.938 kB / 0.7204 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.7777, allocations: 251.7 kB / 0.7207 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01518/0.7928, allocations: 4.769 MB / 0.7253 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006182/0.7935, allocations: 51.98 kB / 0.7254 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04743/0.8409, allocations: 19.61 MB / 0.7445 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.841, allocations: 0 / 0.7445 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03774/0.8787, allocations: 12.81 MB / 0.757 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.8801, allocations: 496.1 kB / 0.7575 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009403/0.8811, allocations: 44 kB / 0.7576 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003051/0.8841, allocations: 247.7 kB / 0.7578 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001821/0.886, allocations: 0.506 MB / 0.7583 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/0.8862, allocations: 71.98 kB / 0.7584 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002836/0.889, allocations: 1.877 MB / 0.7602 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/0.889, allocations: 0 / 0.7602 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003936/0.893, allocations: 1.124 MB / 0.7613 GB, free: 5.047 MB / 0.5573 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.2651/1.158, allocations: 13.23 MB / 0.7742 GB, free: 179.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01887/1.177, allocations: 6.073 MB / 0.7801 GB, free: 178.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.177, allocations: 1.312 kB / 0.7801 GB, free: 178.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01104/1.188, allocations: 3.702 MB / 0.7838 GB, free: 177.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.191, allocations: 263.4 kB / 0.784 GB, free: 177.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08065/1.271, allocations: 44.31 MB / 0.8273 GB, free: 144.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009665/1.272, allocations: 1.846 MB / 0.8291 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001397/1.274, allocations: 296.9 kB / 0.8294 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/1.275, allocations: 1.382 MB / 0.8307 GB, free: 141 MB / 0.5573 GB Notification: Performance of SimCode: time 6.72e-07/1.275, allocations: 0 / 0.8307 GB, free: 141 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/1.378, allocations: 81.03 MB / 0.9098 GB, free: 60.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/1.379, allocations: 232 kB / 0.9101 GB, free: 59.92 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.856/6.235, allocations: 3.938 kB / 0.9101 GB, free: 59.91 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)