Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 250.5 MB, free: 9.211 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 212.2 kB / 306.7 MB, free: 4.273 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4601/0.4601, allocations: 79.72 MB / 442.5 MB, free: 15.93 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 79.88 kB / 0.5885 GB, free: 1.387 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1652, allocations: 73.27 MB / 0.6601 GB, free: 8.02 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.00796/0.1732, allocations: 6.549 MB / 0.6665 GB, free: 1.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004612/0.1778, allocations: 2.001 MB / 0.6684 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000951/0.1788, allocations: 12 kB / 0.6684 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007997/0.1796, allocations: 234 kB / 0.6686 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.182, allocations: 0.8751 MB / 0.6695 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1835, allocations: 0.6194 MB / 0.6701 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.1858, allocations: 1.588 MB / 0.6717 GB, free: 12.1 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000474/0.1863, allocations: 230.4 kB / 0.6719 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.1875, allocations: 0.6808 MB / 0.6725 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.1885, allocations: 0.844 MB / 0.6734 GB, free: 10.33 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.1887, allocations: 120 kB / 0.6735 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005982/0.1893, allocations: 283.8 kB / 0.6737 GB, free: 9.938 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.1896, allocations: 322.6 kB / 0.6741 GB, free: 9.621 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006499/0.1903, allocations: 0.668 MB / 0.6747 GB, free: 8.949 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.1925, allocations: 1.7 MB / 0.6764 GB, free: 7.242 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1925, allocations: 0 / 0.6764 GB, free: 7.242 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1925, allocations: 0 / 0.6764 GB, free: 7.242 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.625e-05/0.1925, allocations: 0 / 0.6764 GB, free: 7.242 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.009937/0.2025, allocations: 2.753 MB / 0.6791 GB, free: 4.422 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.2025, allocations: 12.03 kB / 0.6791 GB, free: 4.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.166e-05/0.2026, allocations: 18 kB / 0.6791 GB, free: 4.391 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.2027, allocations: 122.6 kB / 0.6792 GB, free: 4.262 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005371/0.2081, allocations: 0.7991 MB / 0.68 GB, free: 3.461 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.21, allocations: 0.899 MB / 0.6809 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/0.2103, allocations: 260.2 kB / 0.6811 GB, free: 2.219 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.2105, allocations: 87.88 kB / 0.6812 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.2129, allocations: 1.083 MB / 0.6822 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.2129, allocations: 3.938 kB / 0.6823 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.982e-05/0.213, allocations: 35.94 kB / 0.6823 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.213, allocations: 16 kB / 0.6823 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.2153, allocations: 0.9916 MB / 0.6833 GB, free: 15.99 MB / 494.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.00728/0.2225, allocations: 3.801 MB / 0.687 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007833/0.2304, allocations: 2.294 MB / 0.6892 GB, free: 9.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.232, allocations: 0.6137 MB / 0.6898 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.2321, allocations: 16.98 kB / 0.6898 GB, free: 8.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/0.2339, allocations: 0.8254 MB / 0.6906 GB, free: 8.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=95): time 2.906e-06/0.2339, allocations: 0 / 0.6906 GB, free: 8.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=95): time 0.03025/0.2641, allocations: 7.164 MB / 0.6976 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/0.2642, allocations: 119.7 kB / 0.6978 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3119/0.5761, allocations: 1.083 MB / 0.6988 GB, free: 35.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003643/0.5765, allocations: 46.8 kB / 0.6989 GB, free: 35.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.5769, allocations: 0.4945 MB / 0.6993 GB, free: 35.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.5773, allocations: 369 kB / 0.6997 GB, free: 35.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005978/0.5779, allocations: 282.6 kB / 0.7 GB, free: 35.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.5779, allocations: 306 kB / 0.7003 GB, free: 35.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.5797, allocations: 0.7569 MB / 0.701 GB, free: 35.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.5817, allocations: 0.9268 MB / 0.7019 GB, free: 34.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02861/0.6103, allocations: 5.777 MB / 0.7075 GB, free: 34.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/0.6103, allocations: 0.9688 kB / 0.7075 GB, free: 34.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01552/0.6258, allocations: 4.343 MB / 0.7118 GB, free: 33.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.781e-05/0.6259, allocations: 60.83 kB / 0.7118 GB, free: 33.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.6259, allocations: 3.719 kB / 0.7118 GB, free: 33.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006693/0.6326, allocations: 1.589 MB / 0.7134 GB, free: 32.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.6343, allocations: 282.4 kB / 0.7137 GB, free: 32.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/0.655, allocations: 8.518 MB / 0.722 GB, free: 28.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.6571, allocations: 206.7 kB / 0.7222 GB, free: 28.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.6573, allocations: 57.36 kB / 0.7222 GB, free: 28.62 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006831/0.658, allocations: 295.9 kB / 0.7225 GB, free: 28.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.6583, allocations: 130.2 kB / 0.7226 GB, free: 28.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/0.6711, allocations: 3.843 MB / 0.7264 GB, free: 26.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.6711, allocations: 13.08 kB / 0.7264 GB, free: 26.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.6711, allocations: 14.28 kB / 0.7264 GB, free: 26.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/0.6711, allocations: 9.594 kB / 0.7264 GB, free: 26.93 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.01408/0.6852, allocations: 5.423 MB / 0.7317 GB, free: 23.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/0.6852, allocations: 3.75 kB / 0.7317 GB, free: 23.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000671/0.6859, allocations: 97.41 kB / 0.7318 GB, free: 23.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005386/0.6913, allocations: 1.611 MB / 0.7334 GB, free: 22.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/0.6915, allocations: 15.94 kB / 0.7334 GB, free: 22.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01829/0.7098, allocations: 9.649 MB / 0.7428 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7098, allocations: 4 kB / 0.7428 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/0.7237, allocations: 4.713 MB / 0.7474 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/0.7241, allocations: 229.1 kB / 0.7477 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.7243, allocations: 20 kB / 0.7477 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.7255, allocations: 111.9 kB / 0.7478 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006/0.7261, allocations: 192.7 kB / 0.748 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.7262, allocations: 30.62 kB / 0.748 GB, free: 8.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009568/0.7271, allocations: 0.7315 MB / 0.7487 GB, free: 7.523 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7271, allocations: 0 / 0.7487 GB, free: 7.523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00153/0.7287, allocations: 475.6 kB / 0.7492 GB, free: 7.059 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01348/0.7421, allocations: 5.302 MB / 0.7543 GB, free: 1.711 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00648/0.7486, allocations: 2.391 MB / 0.7567 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7486, allocations: 0.5625 kB / 0.7567 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004911/0.7535, allocations: 1.528 MB / 0.7582 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.7548, allocations: 118.6 kB / 0.7583 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0422/0.797, allocations: 16.02 MB / 0.7739 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/0.7978, allocations: 1.126 MB / 0.775 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005692/0.7983, allocations: 120 kB / 0.7751 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006845/0.799, allocations: 475.3 kB / 0.7756 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/0.799, allocations: 4 kB / 0.7756 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07781/0.8768, allocations: 34.79 MB / 0.8096 GB, free: 9.051 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.11, allocations: 18.73 kB / 0.8096 GB, free: 9.039 MB / 0.545 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.69498005998321] Failed to read output from testmodel.py, exit status != 0: 16.274708051991183 16.290836174 16.095236818 Calling exit ...