Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.0009594/0.0009597, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.363/1.363, allocations: 223.2 MB / 239 MB, free: 5.453 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.001021/0.001022, allocations: 168.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4702/0.4702, allocations: 79.47 MB / 420.8 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 12 kB / 0.4892 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3746, allocations: 69.52 MB / 0.5571 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01059/0.3852, allocations: 12.96 MB / 0.5697 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008205/0.3935, allocations: 3.484 MB / 0.5731 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.3967, allocations: 33.03 kB / 0.5732 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.3983, allocations: 397.7 kB / 0.5736 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004543/0.4028, allocations: 1.202 MB / 0.5747 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.406, allocations: 1.293 MB / 0.576 GB, free: 30.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004665/0.4107, allocations: 3.374 MB / 0.5793 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.4118, allocations: 0.6977 MB / 0.58 GB, free: 28.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.4139, allocations: 1.32 MB / 0.5813 GB, free: 27.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.4155, allocations: 1.751 MB / 0.583 GB, free: 26.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002841/0.4158, allocations: 143.2 kB / 0.5831 GB, free: 26.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007066/0.4165, allocations: 268.8 kB / 0.5834 GB, free: 26.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.417, allocations: 0.5927 MB / 0.5839 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005887/0.4176, allocations: 0.5232 MB / 0.5845 GB, free: 26.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002161/0.4197, allocations: 2.978 MB / 0.5874 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4198, allocations: 2.625 kB / 0.5874 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4198, allocations: 0 / 0.5874 GB, free: 25.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.134e-05/0.4198, allocations: 0 / 0.5874 GB, free: 25.16 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.01946/0.4393, allocations: 6.234 MB / 0.5935 GB, free: 22.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4393, allocations: 9.25 kB / 0.5935 GB, free: 22.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001088/0.4404, allocations: 303.5 kB / 0.5938 GB, free: 22.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.4553, allocations: 2.299 MB / 0.596 GB, free: 22.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004723/0.4601, allocations: 1.796 MB / 0.5978 GB, free: 21.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007218/0.4609, allocations: 0.7545 MB / 0.5985 GB, free: 20.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005298/0.4614, allocations: 215.8 kB / 0.5987 GB, free: 20.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007266/0.4687, allocations: 3.228 MB / 0.6018 GB, free: 19.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/0.4687, allocations: 5.719 kB / 0.6019 GB, free: 19.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/0.469, allocations: 82.2 kB / 0.6019 GB, free: 19.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.429e-05/0.4691, allocations: 53.7 kB / 0.602 GB, free: 19.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00633/0.4754, allocations: 2.977 MB / 0.6049 GB, free: 18.25 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.0229/0.4983, allocations: 10.18 MB / 0.6148 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.5102, allocations: 4.878 MB / 0.6196 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005109/0.5154, allocations: 2.169 MB / 0.6217 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004068/0.5158, allocations: 36.28 kB / 0.6217 GB, free: 9.625 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005169/0.521, allocations: 2.442 MB / 0.6241 GB, free: 7.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 1.348e-05/0.5211, allocations: 0 / 0.6241 GB, free: 7.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1124/0.6335, allocations: 33.42 MB / 0.6568 GB, free: 6.156 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.6337, allocations: 184.2 kB / 0.6569 GB, free: 5.938 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004574/0.6382, allocations: 2.294 MB / 0.6592 GB, free: 3.625 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000869/0.6391, allocations: 69.7 kB / 0.6593 GB, free: 3.551 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.6403, allocations: 1.18 MB / 0.6604 GB, free: 2.359 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001771/0.642, allocations: 0.8781 MB / 0.6613 GB, free: 1.469 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000883/0.6429, allocations: 64 kB / 0.6613 GB, free: 1.406 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003867/0.6433, allocations: 428.9 kB / 0.6617 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00564/0.649, allocations: 2.158 MB / 0.6638 GB, free: 14.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005629/0.6546, allocations: 2.539 MB / 0.6663 GB, free: 12.19 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005186/0.6599, allocations: 2.427 MB / 0.6687 GB, free: 9.723 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-05/0.6599, allocations: 7.953 kB / 0.6687 GB, free: 9.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.0422/0.7021, allocations: 15.2 MB / 0.6835 GB, free: 10.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.7022, allocations: 114.8 kB / 0.6837 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.7023, allocations: 8 kB / 0.6837 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01896/0.7213, allocations: 6.436 MB / 0.6899 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/0.7245, allocations: 0.5856 MB / 0.6905 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06093/0.7855, allocations: 25.16 MB / 0.7151 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004896/0.7904, allocations: 0.587 MB / 0.7157 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008123/0.7912, allocations: 120 kB / 0.7158 GB, free: 9.301 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (331): * Single equations (assignments): 326 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.002421/0.7937, allocations: 0.5317 MB / 0.7163 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/0.7949, allocations: 301.4 kB / 0.7166 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03998/0.8349, allocations: 14.76 MB / 0.731 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.835, allocations: 28 kB / 0.731 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.619e-05/0.8351, allocations: 20 kB / 0.731 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.766e-05/0.8351, allocations: 11.95 kB / 0.731 GB, free: 9.539 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.04776/0.8829, allocations: 18.38 MB / 0.749 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/0.883, allocations: 0 / 0.749 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.8847, allocations: 251.6 kB / 0.7492 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01817/0.9029, allocations: 6.277 MB / 0.7554 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009216/0.9038, allocations: 59.94 kB / 0.7554 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3354/1.239, allocations: 25.49 MB / 0.7803 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.239, allocations: 4.422 kB / 0.7803 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04586/1.285, allocations: 17.32 MB / 0.7972 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.286, allocations: 424.5 kB / 0.7976 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000685/1.287, allocations: 46.25 kB / 0.7977 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/1.29, allocations: 410.6 kB / 0.7981 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002351/1.292, allocations: 0.5782 MB / 0.7986 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/1.293, allocations: 66.38 kB / 0.7987 GB, free: 161 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002464/1.295, allocations: 1.512 MB / 0.8002 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/1.295, allocations: 0 / 0.8002 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004279/1.299, allocations: 1.19 MB / 0.8013 GB, free: 160.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(67,7.5%) 21} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.045/1.344, allocations: 17.96 MB / 0.8189 GB, free: 157 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0168/1.361, allocations: 7.532 MB / 0.8262 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.361, allocations: 4.188 kB / 0.8262 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01156/1.373, allocations: 5.112 MB / 0.8312 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/1.376, allocations: 264.3 kB / 0.8315 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06251/1.439, allocations: 34.14 MB / 0.8648 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.44, allocations: 1.813 MB / 0.8666 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001273/1.441, allocations: 266.8 kB / 0.8668 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.442, allocations: 1.23 MB / 0.868 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/1.442, allocations: 0 / 0.868 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/1.552, allocations: 81.5 MB / 0.9476 GB, free: 29.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/1.552, allocations: 221.2 kB / 0.9479 GB, free: 29.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.337/5.889, allocations: 3.938 kB / 0.9479 GB, free: 29.25 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: