Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.005735/0.005735, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.44/1.44, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001883/0.001883, allocations: 184.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.565/0.565, allocations: 92.61 MB / 432.5 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002258, allocations: 79.34 kB / 0.5733 GB, free: 33.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1463, allocations: 71.42 MB / 0.643 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01436/0.1607, allocations: 13.62 MB / 0.6563 GB, free: 5.371 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008916/0.1697, allocations: 3.468 MB / 0.6597 GB, free: 1.887 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003305/0.173, allocations: 28 kB / 0.6597 GB, free: 1.859 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.1753, allocations: 0.5537 MB / 0.6603 GB, free: 1.301 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006384/0.1817, allocations: 1.434 MB / 0.6617 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0046/0.1864, allocations: 1.504 MB / 0.6631 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007179/0.1936, allocations: 3.721 MB / 0.6668 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.1957, allocations: 0.8895 MB / 0.6676 GB, free: 9.699 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.199, allocations: 1.521 MB / 0.6691 GB, free: 8.172 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003504/0.2026, allocations: 1.956 MB / 0.671 GB, free: 6.207 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001295/0.2039, allocations: 284 kB / 0.6713 GB, free: 5.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.2057, allocations: 435.8 kB / 0.6717 GB, free: 5.504 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.207, allocations: 0.7585 MB / 0.6725 GB, free: 4.742 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002278/0.2093, allocations: 1.631 MB / 0.674 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005664/0.215, allocations: 3.991 MB / 0.6779 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.2151, allocations: 0 / 0.6779 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2151, allocations: 0 / 0.6779 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.2152, allocations: 0 / 0.6779 GB, free: 15.09 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02487/0.2401, allocations: 6.681 MB / 0.6845 GB, free: 8.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.2402, allocations: 8.031 kB / 0.6845 GB, free: 8.305 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004681/0.2406, allocations: 315.1 kB / 0.6848 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/0.2558, allocations: 2.296 MB / 0.687 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004643/0.2605, allocations: 1.889 MB / 0.6889 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008546/0.2614, allocations: 0.733 MB / 0.6896 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005513/0.2619, allocations: 219.9 kB / 0.6898 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007091/0.269, allocations: 3.035 MB / 0.6927 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/0.2691, allocations: 0 / 0.6927 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/0.2694, allocations: 87.94 kB / 0.6928 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/0.2695, allocations: 52 kB / 0.6929 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006658/0.2761, allocations: 2.788 MB / 0.6956 GB, free: 12.62 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.02098/0.2971, allocations: 9.8 MB / 0.7052 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.309, allocations: 4.184 MB / 0.7093 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004971/0.314, allocations: 1.964 MB / 0.7112 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003714/0.3144, allocations: 45.95 kB / 0.7112 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005359/0.3198, allocations: 2.22 MB / 0.7134 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=247): time 4.308e-06/0.3198, allocations: 0 / 0.7134 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of matching and sorting (n=247): time 0.133/0.4528, allocations: 29.49 MB / 0.7422 GB, free: 12.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.453, allocations: 184.2 kB / 0.7424 GB, free: 12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004809/0.4579, allocations: 2.277 MB / 0.7446 GB, free: 9.699 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007757/0.4587, allocations: 77.75 kB / 0.7447 GB, free: 9.617 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.4598, allocations: 1.189 MB / 0.7458 GB, free: 8.418 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001585/0.4614, allocations: 0.9102 MB / 0.7467 GB, free: 7.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.4627, allocations: 0.558 MB / 0.7473 GB, free: 6.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4628, allocations: 301.1 kB / 0.7475 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004733/0.4675, allocations: 1.947 MB / 0.7494 GB, free: 4.688 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005214/0.4728, allocations: 2.314 MB / 0.7517 GB, free: 2.281 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05805/0.5309, allocations: 14 MB / 0.7654 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/0.5309, allocations: 7.938 kB / 0.7654 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.3585/0.8895, allocations: 12.29 MB / 0.7774 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.634e-05/0.8896, allocations: 118.8 kB / 0.7775 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/0.8896, allocations: 10.28 kB / 0.7775 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01873/0.9084, allocations: 5.317 MB / 0.7827 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/0.9112, allocations: 0.5617 MB / 0.7832 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0555/0.9667, allocations: 23.51 MB / 0.8062 GB, free: 96.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/0.9711, allocations: 499.7 kB / 0.8067 GB, free: 96.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005271/0.9717, allocations: 119.9 kB / 0.8068 GB, free: 96.1 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 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 order3_1.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 (325): * Single equations (assignments): 320 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001205/0.9729, allocations: 0.5279 MB / 0.8073 GB, free: 95.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005896/0.9735, allocations: 310.5 kB / 0.8076 GB, free: 95.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03702/1.011, allocations: 11.91 MB / 0.8192 GB, free: 83.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/1.011, allocations: 24 kB / 0.8192 GB, free: 83.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.78e-05/1.011, allocations: 20 kB / 0.8193 GB, free: 83.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.504e-05/1.011, allocations: 11.95 kB / 0.8193 GB, free: 83.27 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.04134/1.052, allocations: 15.48 MB / 0.8344 GB, free: 67.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/1.052, allocations: 5.047 kB / 0.8344 GB, free: 67.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/1.054, allocations: 251.6 kB / 0.8346 GB, free: 67.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01642/1.07, allocations: 5.276 MB / 0.8398 GB, free: 62.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000664/1.071, allocations: 51.98 kB / 0.8398 GB, free: 62.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05402/1.125, allocations: 24.97 MB / 0.8642 GB, free: 36.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.125, allocations: 7.938 kB / 0.8642 GB, free: 36.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.042/1.167, allocations: 14.28 MB / 0.8782 GB, free: 22.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.168, allocations: 425.6 kB / 0.8786 GB, free: 21.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000693/1.169, allocations: 44 kB / 0.8786 GB, free: 21.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002941/1.172, allocations: 299.6 kB / 0.8789 GB, free: 21.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002071/1.174, allocations: 0.5841 MB / 0.8795 GB, free: 21.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/1.174, allocations: 65.61 kB / 0.8796 GB, free: 20.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001923/1.176, allocations: 1.511 MB / 0.881 GB, free: 19.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.176, allocations: 4 kB / 0.881 GB, free: 19.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003335/1.179, allocations: 1.171 MB / 0.8822 GB, free: 18.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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 {(66,22,7.7%)} * 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.04154/1.221, allocations: 14.91 MB / 0.8967 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01938/1.24, allocations: 6.72 MB / 0.9033 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.24, allocations: 0.5625 kB / 0.9033 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01482/1.255, allocations: 4.421 MB / 0.9076 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/1.258, allocations: 265 kB / 0.9079 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1223/1.38, allocations: 41.4 MB / 0.9483 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/1.382, allocations: 1.802 MB / 0.9501 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001455/1.384, allocations: 262.5 kB / 0.9503 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001936/1.386, allocations: 1.233 MB / 0.9515 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of SimCode: time 1.122e-06/1.386, allocations: 0 / 0.9515 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1768/1.562, allocations: 89.64 MB / 1.039 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.66/20.22, allocations: 3.859 kB / 1.039 GB, free: 1.184 MB / 0.7012 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)