Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_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.001159/0.001159, 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.55/1.55, allocations: 222.9 MB / 238.8 MB, free: 4.68 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.001632/0.001632, allocations: 188.4 kB / 289.1 MB, free: 2.418 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5627/0.5627, allocations: 91.88 MB / 431.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 79.86 kB / 0.5013 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4416, allocations: 71.25 MB / 0.5709 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01779/0.4595, allocations: 23.49 MB / 0.5938 GB, free: 20.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.4722, allocations: 5.178 MB / 0.5989 GB, free: 16.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006519/0.4788, allocations: 54.94 kB / 0.5989 GB, free: 16.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003936/0.4828, allocations: 0.6831 MB / 0.5996 GB, free: 16.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008774/0.4916, allocations: 1.742 MB / 0.6013 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005905/0.4975, allocations: 1.92 MB / 0.6032 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0112/0.5087, allocations: 5.481 MB / 0.6085 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/0.5114, allocations: 1.147 MB / 0.6097 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004788/0.5162, allocations: 2.176 MB / 0.6118 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007341/0.5235, allocations: 2.845 MB / 0.6146 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001978/0.5255, allocations: 290.1 kB / 0.6148 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.5283, allocations: 430.1 kB / 0.6153 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.5295, allocations: 1.009 MB / 0.6162 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004312/0.5338, allocations: 2.474 MB / 0.6187 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008918/0.5427, allocations: 6.033 MB / 0.6245 GB, free: 3.055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5428, allocations: 4 kB / 0.6245 GB, free: 3.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5428, allocations: 0 / 0.6245 GB, free: 3.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002951/0.5431, allocations: 1.156 kB / 0.6245 GB, free: 3.051 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03906/0.5821, allocations: 9.214 MB / 0.6335 GB, free: 14.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.5822, allocations: 8.031 kB / 0.6336 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001186/0.5834, allocations: 488.9 kB / 0.634 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02783/0.6113, allocations: 4.013 MB / 0.6379 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007142/0.6184, allocations: 2.686 MB / 0.6406 GB, free: 7.234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/0.6195, allocations: 0.9534 MB / 0.6415 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001766/0.6213, allocations: 356 kB / 0.6418 GB, free: 5.797 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.6321, allocations: 4.739 MB / 0.6465 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-05/0.6322, allocations: 0 / 0.6465 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004083/0.6326, allocations: 148 kB / 0.6466 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-05/0.6327, allocations: 84 kB / 0.6467 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00883/0.6415, allocations: 4.252 MB / 0.6508 GB, free: 12.54 MB / 462.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.04064/0.6822, allocations: 18.38 MB / 0.6688 GB, free: 8.988 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01346/0.6957, allocations: 5.013 MB / 0.6737 GB, free: 3.898 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006619/0.7024, allocations: 2.8 MB / 0.6764 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008074/0.7032, allocations: 70.92 kB / 0.6765 GB, free: 1.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008157/0.7114, allocations: 3.181 MB / 0.6796 GB, free: 13.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=384): time 8.275e-06/0.7114, allocations: 0 / 0.6796 GB, free: 13.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=384): time 0.3133/1.025, allocations: 67.77 MB / 0.7458 GB, free: 9.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/1.025, allocations: 141.8 kB / 0.7459 GB, free: 9.668 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00819/1.033, allocations: 3.254 MB / 0.7491 GB, free: 6.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001834/1.035, allocations: 85.7 kB / 0.7492 GB, free: 6.305 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002407/1.037, allocations: 1.982 MB / 0.7511 GB, free: 4.309 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003398/1.041, allocations: 1.313 MB / 0.7524 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004655/1.046, allocations: 0.6861 MB / 0.753 GB, free: 2.277 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.046, allocations: 309.1 kB / 0.7533 GB, free: 1.973 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007752/1.054, allocations: 2.601 MB / 0.7559 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008313/1.062, allocations: 3.233 MB / 0.759 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3835/1.445, allocations: 19 MB / 0.7776 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-05/1.446, allocations: 8.375 kB / 0.7776 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05823/1.504, allocations: 17.3 MB / 0.7945 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.555e-05/1.504, allocations: 68.95 kB / 0.7946 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.171e-05/1.504, allocations: 13.94 kB / 0.7946 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.026/1.53, allocations: 7.154 MB / 0.8016 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003906/1.534, allocations: 0.6861 MB / 0.8022 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07632/1.61, allocations: 30.64 MB / 0.8322 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007303/1.618, allocations: 0.6216 MB / 0.8328 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.619, allocations: 156 kB / 0.8329 GB, free: 135.1 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 2 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002554/1.621, allocations: 0.664 MB / 0.8336 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/1.623, allocations: 462.3 kB / 0.834 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05152/1.675, allocations: 16.88 MB / 0.8505 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/1.675, allocations: 36 kB / 0.8505 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.765e-05/1.675, allocations: 28 kB / 0.8505 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001089/1.675, allocations: 21.7 kB / 0.8506 GB, free: 116.9 MB / 0.5606 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.06033/1.735, allocations: 21.9 MB / 0.8719 GB, free: 94.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.577e-05/1.735, allocations: 0 / 0.8719 GB, free: 94.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/1.738, allocations: 387.5 kB / 0.8723 GB, free: 94.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02448/1.762, allocations: 7.374 MB / 0.8795 GB, free: 87.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00122/1.763, allocations: 71.98 kB / 0.8796 GB, free: 87.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06878/1.832, allocations: 28.92 MB / 0.9078 GB, free: 57.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.832, allocations: 8 kB / 0.9078 GB, free: 57.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06007/1.892, allocations: 20.25 MB / 0.9276 GB, free: 37.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003162/1.896, allocations: 0.5609 MB / 0.9282 GB, free: 37.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002631/1.898, allocations: 64 kB / 0.9282 GB, free: 36.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006213/1.905, allocations: 375.7 kB / 0.9286 GB, free: 36.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004008/1.909, allocations: 0.7724 MB / 0.9293 GB, free: 35.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005064/1.909, allocations: 95.98 kB / 0.9294 GB, free: 35.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003833/1.913, allocations: 2.133 MB / 0.9315 GB, free: 33.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.41e-07/1.913, allocations: 0 / 0.9315 GB, free: 33.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009149/1.922, allocations: 1.805 MB / 0.9333 GB, free: 31.78 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.07655/1.999, allocations: 20.92 MB / 0.9537 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03587/2.035, allocations: 9.185 MB / 0.9627 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/2.035, allocations: 0.8125 kB / 0.9627 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.02624/2.061, allocations: 6.199 MB / 0.9687 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00646/2.067, allocations: 387.7 kB / 0.9691 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4615/2.529, allocations: 70.51 MB / 1.038 GB, free: 176.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/2.531, allocations: 2.45 MB / 1.04 GB, free: 175.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001998/2.533, allocations: 376.8 kB / 1.041 GB, free: 175.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002343/2.535, allocations: 2.012 MB / 1.043 GB, free: 173.7 MB / 0.5919 GB Notification: Performance of SimCode: time 2.475e-06/2.535, allocations: 4 kB / 1.043 GB, free: 173.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1716/2.707, allocations: 117.8 MB / 1.158 GB, free: 59.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/2.707, allocations: 243.9 kB / 1.158 GB, free: 58.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.111/8.818, allocations: 2.625 kB / 1.158 GB, free: 58.89 MB / 0.5919 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)