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.001551/0.001551, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.512/1.512, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001717/0.001717, allocations: 213.7 kB / 309.2 MB, free: 3.102 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6635/0.6635, allocations: 107.2 MB / 472.8 MB, free: 29.79 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",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.002548/0.002548, allocations: 83.17 kB / 0.633 GB, free: 29.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1827, allocations: 80.16 MB / 0.7113 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008037/0.1907, allocations: 5.771 MB / 0.717 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005168/0.1959, allocations: 1.924 MB / 0.7188 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009651/0.1968, allocations: 12 kB / 0.7188 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008563/0.1977, allocations: 241.9 kB / 0.7191 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.2003, allocations: 0.8522 MB / 0.7199 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.202, allocations: 0.6162 MB / 0.7205 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002318/0.2043, allocations: 1.6 MB / 0.7221 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004621/0.2048, allocations: 210.9 kB / 0.7223 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.2059, allocations: 0.6847 MB / 0.7229 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.2069, allocations: 0.7659 MB / 0.7237 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.2071, allocations: 124 kB / 0.7238 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006551/0.2078, allocations: 267.9 kB / 0.7241 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003773/0.2082, allocations: 334.6 kB / 0.7244 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006253/0.2088, allocations: 0.5477 MB / 0.7249 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00266/0.2115, allocations: 1.708 MB / 0.7266 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2115, allocations: 0 / 0.7266 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.906e-06/0.2115, allocations: 0 / 0.7266 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.385e-05/0.2115, allocations: 0 / 0.7266 GB, free: 7.996 MB / 0.4981 GB 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.01043/0.2219, allocations: 2.812 MB / 0.7293 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.222, allocations: 12.03 kB / 0.7293 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002092/0.2222, allocations: 126.6 kB / 0.7295 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005271/0.2275, allocations: 0.803 MB / 0.7303 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.2296, allocations: 0.8307 MB / 0.7311 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004274/0.2301, allocations: 337.3 kB / 0.7314 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.2303, allocations: 83.95 kB / 0.7315 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.2328, allocations: 1.108 MB / 0.7325 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.2328, allocations: 4 kB / 0.7325 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.787e-05/0.2329, allocations: 31.94 kB / 0.7326 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.2329, allocations: 27.94 kB / 0.7326 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.2351, allocations: 1.005 MB / 0.7336 GB, free: 0.6367 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.007729/0.2428, allocations: 2.944 MB / 0.7365 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007575/0.2504, allocations: 2.025 MB / 0.7384 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.2521, allocations: 0.6365 MB / 0.7391 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.2522, allocations: 13 kB / 0.7391 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002135/0.2544, allocations: 0.8428 MB / 0.7399 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=95): time 5.53e-06/0.2544, allocations: 0 / 0.7399 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=95): time 0.03086/0.2852, allocations: 7.068 MB / 0.7468 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.2854, allocations: 123.7 kB / 0.7469 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.2877, allocations: 1.087 MB / 0.748 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003099/0.288, allocations: 45.7 kB / 0.748 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/0.2886, allocations: 0.4936 MB / 0.7485 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006639/0.2892, allocations: 368.9 kB / 0.7489 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008177/0.29, allocations: 287.5 kB / 0.7491 GB, free: 500 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2902, allocations: 305.1 kB / 0.7494 GB, free: 192 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/0.2921, allocations: 0.8077 MB / 0.7502 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.2942, allocations: 0.9806 MB / 0.7512 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02609/0.3203, allocations: 5.774 MB / 0.7568 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/0.3203, allocations: 4 kB / 0.7568 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01576/0.336, allocations: 4.395 MB / 0.7611 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.3362, allocations: 63.34 kB / 0.7612 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.3362, allocations: 4 kB / 0.7612 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006433/0.3426, allocations: 1.588 MB / 0.7627 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.3443, allocations: 271.6 kB / 0.763 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/0.3663, allocations: 8.244 MB / 0.771 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/0.3684, allocations: 203.2 kB / 0.7712 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/0.3687, allocations: 55.97 kB / 0.7713 GB, free: 9.477 MB / 0.545 GB 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.0009052/0.3696, allocations: 308.1 kB / 0.7716 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004206/0.3701, allocations: 131.2 kB / 0.7717 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.3836, allocations: 3.863 MB / 0.7755 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.3836, allocations: 8 kB / 0.7755 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/0.3836, allocations: 8 kB / 0.7755 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/0.3837, allocations: 3.984 kB / 0.7755 GB, free: 5.109 MB / 0.545 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.01646/0.4001, allocations: 4.986 MB / 0.7804 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.4001, allocations: 0 / 0.7804 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/0.4009, allocations: 99.95 kB / 0.7804 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006127/0.407, allocations: 1.59 MB / 0.782 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/0.4073, allocations: 23.94 kB / 0.782 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02288/0.4302, allocations: 9.249 MB / 0.7911 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4302, allocations: 0 / 0.7911 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/0.4461, allocations: 4.77 MB / 0.7957 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006324/0.4467, allocations: 154.8 kB / 0.7959 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004763/0.4472, allocations: 23.94 kB / 0.7959 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.4487, allocations: 107.9 kB / 0.796 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008097/0.4495, allocations: 208.6 kB / 0.7962 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.4496, allocations: 20.09 kB / 0.7962 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001633/0.4513, allocations: 0.7431 MB / 0.7969 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4513, allocations: 4 kB / 0.7969 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002332/0.4536, allocations: 475.6 kB / 0.7974 GB, free: 14.3 MB / 0.5762 GB 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.01631/0.4699, allocations: 5.347 MB / 0.8026 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007437/0.4773, allocations: 2.463 MB / 0.805 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.4773, allocations: 0 / 0.805 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00474/0.4821, allocations: 1.566 MB / 0.8065 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.4835, allocations: 114 kB / 0.8067 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4059/0.8894, allocations: 16.24 MB / 0.8225 GB, free: 92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007622/0.8902, allocations: 0.5318 MB / 0.823 GB, free: 91.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005821/0.8907, allocations: 116.7 kB / 0.8231 GB, free: 91.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/0.8913, allocations: 476.9 kB / 0.8236 GB, free: 91.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/0.8913, allocations: 0 / 0.8236 GB, free: 91.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07217/0.9635, allocations: 37.59 MB / 0.8603 GB, free: 63.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.46, allocations: 7.859 kB / 0.8603 GB, free: 63.83 MB / 0.5762 GB " [Timeout remaining time 643] (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: 20.439042977057397] Failed to read output from testmodel.py, exit status != 0: 16.598158370237797 16.617517959 16.402069181 Calling exit ...