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.001565/0.001565, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.571/1.571, allocations: 230.6 MB / 252.7 MB, free: 8.301 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.001763/0.001763, allocations: 209.8 kB / 309.2 MB, free: 3.137 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.5173/0.5173, allocations: 79.74 MB / 445.4 MB, free: 14.84 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="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.002553/0.002553, allocations: 87.88 kB / 0.5929 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1715, allocations: 73.3 MB / 0.6645 GB, free: 4.535 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008394/0.1799, allocations: 6.573 MB / 0.6709 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005065/0.1849, allocations: 2.021 MB / 0.6729 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.1861, allocations: 15.94 kB / 0.6729 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.1871, allocations: 238 kB / 0.6732 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.1899, allocations: 0.8588 MB / 0.674 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1915, allocations: 0.6404 MB / 0.6746 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002636/0.1942, allocations: 1.608 MB / 0.6762 GB, free: 8.551 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.1947, allocations: 222.9 kB / 0.6764 GB, free: 8.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.1959, allocations: 0.6809 MB / 0.6771 GB, free: 7.637 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.1972, allocations: 0.844 MB / 0.6779 GB, free: 6.789 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.1974, allocations: 120 kB / 0.678 GB, free: 6.672 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006745/0.1981, allocations: 283.9 kB / 0.6783 GB, free: 6.395 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003495/0.1984, allocations: 330.6 kB / 0.6786 GB, free: 6.07 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007264/0.1991, allocations: 0.668 MB / 0.6792 GB, free: 5.398 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.2016, allocations: 1.688 MB / 0.6809 GB, free: 3.703 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2016, allocations: 0 / 0.6809 GB, free: 3.703 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2016, allocations: 0 / 0.6809 GB, free: 3.703 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.611e-05/0.2016, allocations: 0 / 0.6809 GB, free: 3.703 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.01052/0.2121, allocations: 2.824 MB / 0.6837 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.2122, allocations: 15.98 kB / 0.6837 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.2124, allocations: 122.6 kB / 0.6838 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/0.2178, allocations: 0.7913 MB / 0.6846 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/0.2201, allocations: 0.8385 MB / 0.6854 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004382/0.2205, allocations: 333.2 kB / 0.6857 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.2207, allocations: 91.88 kB / 0.6858 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.223, allocations: 1.086 MB / 0.6868 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.2231, allocations: 4 kB / 0.6868 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.356e-05/0.2231, allocations: 32 kB / 0.6869 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.2232, allocations: 16 kB / 0.6869 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.2253, allocations: 0.9877 MB / 0.6879 GB, free: 12.39 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.00779/0.2331, allocations: 3.747 MB / 0.6915 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007478/0.2406, allocations: 1.993 MB / 0.6935 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.2422, allocations: 0.6203 MB / 0.6941 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.2423, allocations: 16.98 kB / 0.6941 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/0.2441, allocations: 0.8239 MB / 0.6949 GB, free: 4.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=95): time 3.547e-06/0.2441, allocations: 4 kB / 0.6949 GB, free: 4.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=95): time 0.3403/0.5844, allocations: 7 MB / 0.7017 GB, free: 34.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.5844, allocations: 122.6 kB / 0.7018 GB, free: 34.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.5863, allocations: 1.087 MB / 0.7029 GB, free: 34.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002756/0.5866, allocations: 46.62 kB / 0.703 GB, free: 34.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/0.587, allocations: 0.4961 MB / 0.7034 GB, free: 34.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/0.5874, allocations: 371.3 kB / 0.7038 GB, free: 34.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005188/0.5879, allocations: 282.5 kB / 0.7041 GB, free: 34.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.558e-05/0.588, allocations: 304.2 kB / 0.7043 GB, free: 33.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.5897, allocations: 0.7568 MB / 0.7051 GB, free: 33.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.5918, allocations: 0.9284 MB / 0.706 GB, free: 33.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02649/0.6183, allocations: 5.767 MB / 0.7116 GB, free: 32.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.6183, allocations: 0.7188 kB / 0.7116 GB, free: 32.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01515/0.6334, allocations: 4.339 MB / 0.7159 GB, free: 31.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.775e-05/0.6335, allocations: 65.75 kB / 0.7159 GB, free: 31.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/0.6335, allocations: 2.875 kB / 0.7159 GB, free: 31.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006232/0.6398, allocations: 1.591 MB / 0.7175 GB, free: 31.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.6416, allocations: 283.8 kB / 0.7178 GB, free: 31.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02066/0.6622, allocations: 8.409 MB / 0.726 GB, free: 26.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.6644, allocations: 210.7 kB / 0.7262 GB, free: 26.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.6645, allocations: 56.14 kB / 0.7262 GB, free: 26.51 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.000677/0.6652, allocations: 301.5 kB / 0.7265 GB, free: 26.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.6655, allocations: 130.8 kB / 0.7266 GB, free: 26.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.6779, allocations: 3.837 MB / 0.7304 GB, free: 24.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/0.6779, allocations: 11.5 kB / 0.7304 GB, free: 24.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.96e-05/0.678, allocations: 7.75 kB / 0.7304 GB, free: 24.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/0.678, allocations: 4.594 kB / 0.7304 GB, free: 24.22 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.01419/0.6922, allocations: 5.41 MB / 0.7357 GB, free: 21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.6922, allocations: 0 / 0.7357 GB, free: 21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/0.6929, allocations: 105.6 kB / 0.7358 GB, free: 20.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005112/0.698, allocations: 1.603 MB / 0.7374 GB, free: 19.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/0.6982, allocations: 18.25 kB / 0.7374 GB, free: 19.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/0.7164, allocations: 9.448 MB / 0.7466 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7165, allocations: 0 / 0.7466 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/0.7298, allocations: 4.712 MB / 0.7512 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005769/0.7303, allocations: 151 kB / 0.7513 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.7306, allocations: 23.94 kB / 0.7514 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.7318, allocations: 107.9 kB / 0.7515 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005669/0.7323, allocations: 204.7 kB / 0.7517 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.358e-05/0.7324, allocations: 27.98 kB / 0.7517 GB, free: 4.957 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009382/0.7334, allocations: 0.7393 MB / 0.7524 GB, free: 4.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7334, allocations: 0.875 kB / 0.7524 GB, free: 4.211 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001496/0.7349, allocations: 474.3 kB / 0.7529 GB, free: 3.758 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.01404/0.7489, allocations: 5.298 MB / 0.758 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007351/0.7562, allocations: 2.387 MB / 0.7604 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.7563, allocations: 3.609 kB / 0.7604 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004709/0.761, allocations: 1.533 MB / 0.7619 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.7622, allocations: 113.7 kB / 0.762 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04346/0.8056, allocations: 16.02 MB / 0.7776 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.8068, allocations: 1.12 MB / 0.7787 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006659/0.8074, allocations: 115.1 kB / 0.7788 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008943/0.8083, allocations: 479.3 kB / 0.7793 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/0.8083, allocations: 0 / 0.7793 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09901/0.9073, allocations: 35.64 MB / 0.8141 GB, free: 4.914 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.42/17.32, allocations: 5.609 kB / 0.8141 GB, free: 4.914 MB / 0.545 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: 21.145103806862608] Failed to read output from testmodel.py, exit status != 0: 17.464944574050605 17.494655616 17.287737282 Calling exit ...