Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.321/1.321, allocations: 222.9 MB / 238.8 MB, free: 4.676 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.00149/0.00149, allocations: 192.4 kB / 289.1 MB, free: 2.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4941/0.4941, allocations: 78.52 MB / 417.8 MB, free: 3.348 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 71.89 kB / 496.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1498, allocations: 68.17 MB / 0.5518 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.306/0.4558, allocations: 14.56 MB / 0.566 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007453/0.4633, allocations: 3.637 MB / 0.5696 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.4656, allocations: 33.09 kB / 0.5696 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.467, allocations: 442.6 kB / 0.57 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.4705, allocations: 1.237 MB / 0.5712 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.4733, allocations: 1.42 MB / 0.5726 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.4772, allocations: 3.571 MB / 0.5761 GB, free: 28.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.4783, allocations: 0.8103 MB / 0.5769 GB, free: 27.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.4802, allocations: 1.419 MB / 0.5783 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.482, allocations: 1.888 MB / 0.5801 GB, free: 26.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004175/0.4824, allocations: 181.2 kB / 0.5803 GB, free: 26.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008043/0.4833, allocations: 311.1 kB / 0.5806 GB, free: 26.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004747/0.4837, allocations: 0.6645 MB / 0.5812 GB, free: 26.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.4849, allocations: 1.544 MB / 0.5827 GB, free: 25.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.4878, allocations: 3.848 MB / 0.5865 GB, free: 24.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4878, allocations: 0 / 0.5865 GB, free: 24.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4878, allocations: 3.141 kB / 0.5865 GB, free: 24.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.031e-05/0.4879, allocations: 0 / 0.5865 GB, free: 24.05 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02439/0.5123, allocations: 6.644 MB / 0.593 GB, free: 21.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.5124, allocations: 10.28 kB / 0.593 GB, free: 21.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004742/0.5129, allocations: 303.7 kB / 0.5933 GB, free: 21.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/0.5276, allocations: 2.272 MB / 0.5955 GB, free: 20.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/0.5313, allocations: 1.9 MB / 0.5974 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006256/0.5319, allocations: 0.7231 MB / 0.5981 GB, free: 18.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004413/0.5324, allocations: 224.6 kB / 0.5983 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006441/0.5388, allocations: 3.042 MB / 0.6012 GB, free: 17.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.5389, allocations: 5.312 kB / 0.6013 GB, free: 17.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.5391, allocations: 89.05 kB / 0.6013 GB, free: 17.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/0.5392, allocations: 49.5 kB / 0.6014 GB, free: 17.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006396/0.5456, allocations: 2.789 MB / 0.6041 GB, free: 16.71 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.02002/0.5656, allocations: 9.941 MB / 0.6138 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/0.5767, allocations: 4.202 MB / 0.6179 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003674/0.5804, allocations: 1.977 MB / 0.6199 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.5807, allocations: 43.67 kB / 0.6199 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00419/0.5849, allocations: 2.249 MB / 0.6221 GB, free: 6.809 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.638e-06/0.5849, allocations: 1.594 kB / 0.6221 GB, free: 6.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1103/0.6952, allocations: 27.42 MB / 0.6489 GB, free: 11.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.6953, allocations: 180.2 kB / 0.649 GB, free: 11.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003672/0.699, allocations: 2.313 MB / 0.6513 GB, free: 8.867 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007253/0.6998, allocations: 69.7 kB / 0.6514 GB, free: 8.793 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000887/0.7006, allocations: 1.176 MB / 0.6525 GB, free: 7.605 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.7017, allocations: 0.8781 MB / 0.6534 GB, free: 6.715 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.7028, allocations: 0.5697 MB / 0.6539 GB, free: 6.137 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.7029, allocations: 305.1 kB / 0.6542 GB, free: 5.836 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004031/0.7069, allocations: 1.966 MB / 0.6561 GB, free: 3.867 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004173/0.7111, allocations: 2.349 MB / 0.6584 GB, free: 1.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05293/0.764, allocations: 14.25 MB / 0.6724 GB, free: 2.969 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/0.7641, allocations: 7.938 kB / 0.6724 GB, free: 2.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.0421/0.8062, allocations: 12.55 MB / 0.6846 GB, free: 6.344 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.8064, allocations: 114.8 kB / 0.6847 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/0.8064, allocations: 4 kB / 0.6847 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01742/0.8238, allocations: 5.257 MB / 0.6899 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/0.8273, allocations: 0.5878 MB / 0.6904 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05718/0.8845, allocations: 21.32 MB / 0.7113 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005095/0.8896, allocations: 497.8 kB / 0.7117 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009401/0.8906, allocations: 116 kB / 0.7118 GB, free: 10.27 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 329 * Array equations: 0 * Algorithm blocks: 4 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002446/0.893, allocations: 0.5366 MB / 0.7124 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/0.8945, allocations: 292.3 kB / 0.7126 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04006/0.9346, allocations: 11.93 MB / 0.7243 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.085e-05/0.9346, allocations: 28 kB / 0.7243 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-05/0.9347, allocations: 16 kB / 0.7243 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.834e-05/0.9348, allocations: 15.95 kB / 0.7244 GB, free: 13.34 MB / 0.5294 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.04866/0.9835, allocations: 15.56 MB / 0.7396 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/0.9836, allocations: 4 kB / 0.7396 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.9853, allocations: 243.6 kB / 0.7398 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01812/1.003, allocations: 5.313 MB / 0.745 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009187/1.004, allocations: 56.92 kB / 0.745 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05808/1.063, allocations: 22.67 MB / 0.7672 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/1.063, allocations: 1.125 kB / 0.7672 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3146/1.377, allocations: 14.3 MB / 0.7811 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.379, allocations: 412.4 kB / 0.7815 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008314/1.38, allocations: 47.72 kB / 0.7816 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/1.383, allocations: 301 kB / 0.7819 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002127/1.385, allocations: 0.5654 MB / 0.7824 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/1.385, allocations: 68.56 kB / 0.7825 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002274/1.387, allocations: 1.531 MB / 0.784 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.4e-07/1.387, allocations: 0 / 0.784 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004197/1.391, allocations: 1.175 MB / 0.7851 GB, free: 165.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(67,21,7.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04586/1.437, allocations: 14.95 MB / 0.7997 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01987/1.457, allocations: 6.651 MB / 0.8062 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.457, allocations: 8.156 kB / 0.8062 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01284/1.47, allocations: 4.43 MB / 0.8106 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/1.473, allocations: 266.6 kB / 0.8108 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1029/1.576, allocations: 47.46 MB / 0.8572 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.577, allocations: 1.811 MB / 0.8589 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001296/1.578, allocations: 263.5 kB / 0.8592 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/1.579, allocations: 1.23 MB / 0.8604 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/1.579, allocations: 4 kB / 0.8604 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/1.687, allocations: 81.74 MB / 0.9402 GB, free: 35.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/1.687, allocations: 237.3 kB / 0.9404 GB, free: 35.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.146/5.833, allocations: 2.391 kB / 0.9404 GB, free: 35.39 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)