Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.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.001324/0.001324, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.386/1.386, allocations: 230.6 MB / 253.4 MB, free: 14.43 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.001486/0.001486, allocations: 216.8 kB / 310 MB, free: 3.105 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5628/0.5628, allocations: 101.3 MB / 467.8 MB, free: 30.66 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",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.002349/0.002349, allocations: 83.22 kB / 0.6252 GB, free: 33.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1364, allocations: 78.61 MB / 0.7019 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.006416/0.1428, allocations: 5.435 MB / 0.7072 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.1462, allocations: 1.751 MB / 0.709 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.1465, allocations: 8 kB / 0.709 GB, free: 9.809 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.147, allocations: 186.4 kB / 0.7091 GB, free: 9.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.1489, allocations: 0.6913 MB / 0.7098 GB, free: 8.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.1503, allocations: 0.5206 MB / 0.7103 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.1517, allocations: 1.098 MB / 0.7114 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.152, allocations: 187.3 kB / 0.7116 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.1526, allocations: 493.9 kB / 0.712 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008224/0.1535, allocations: 0.6262 MB / 0.7127 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.1536, allocations: 84 kB / 0.7127 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.154, allocations: 231.9 kB / 0.713 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.1543, allocations: 247 kB / 0.7132 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.1547, allocations: 0.5125 MB / 0.7137 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.1561, allocations: 1.291 MB / 0.715 GB, free: 3.641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1561, allocations: 0 / 0.715 GB, free: 3.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1561, allocations: 0 / 0.715 GB, free: 3.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1561, allocations: 0 / 0.715 GB, free: 3.641 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.007147/0.1633, allocations: 2.152 MB / 0.7171 GB, free: 1.453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.1633, allocations: 12.03 kB / 0.7171 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.215e-05/0.1634, allocations: 17.5 kB / 0.7171 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.1635, allocations: 110.7 kB / 0.7172 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004401/0.1679, allocations: 0.6901 MB / 0.7179 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.1691, allocations: 0.6129 MB / 0.7185 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.1693, allocations: 176.1 kB / 0.7186 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.1694, allocations: 67.98 kB / 0.7187 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.1714, allocations: 0.8847 MB / 0.7196 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1714, allocations: 0 / 0.7196 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.254e-05/0.1715, allocations: 27.94 kB / 0.7196 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1715, allocations: 16 kB / 0.7196 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.1736, allocations: 0.9264 MB / 0.7205 GB, free: 13.84 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.004412/0.178, allocations: 2.425 MB / 0.7229 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.1798, allocations: 0.7424 MB / 0.7236 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.1811, allocations: 0.5949 MB / 0.7242 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.91e-05/0.1812, allocations: 12.98 kB / 0.7242 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.1813, allocations: 43.5 kB / 0.7242 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 2.594e-06/0.1813, allocations: 0 / 0.7242 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84): time 0.02247/0.2037, allocations: 5.503 MB / 0.7296 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.2038, allocations: 60.41 kB / 0.7297 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.2049, allocations: 0.7709 MB / 0.7304 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.205, allocations: 37.7 kB / 0.7305 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.2054, allocations: 401.2 kB / 0.7308 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.2057, allocations: 321.2 kB / 0.7311 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003789/0.2061, allocations: 186.9 kB / 0.7313 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2062, allocations: 345.9 kB / 0.7317 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.2077, allocations: 0.6194 MB / 0.7323 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.2092, allocations: 0.7271 MB / 0.733 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01793/0.2271, allocations: 4.299 MB / 0.7372 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2271, allocations: 4 kB / 0.7372 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01163/0.2387, allocations: 3.513 MB / 0.7406 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.2388, allocations: 8 kB / 0.7406 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2388, allocations: 0 / 0.7406 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005299/0.2441, allocations: 1.43 MB / 0.742 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.2451, allocations: 199.7 kB / 0.7422 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/0.2652, allocations: 8.031 MB / 0.75 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.2667, allocations: 143.3 kB / 0.7502 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/0.2668, allocations: 35.98 kB / 0.7502 GB, free: 15.06 MB / 0.5294 GB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real exponentialRecovery.xp:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * 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 {(18,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005387/0.2674, allocations: 238 kB / 0.7504 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.2676, allocations: 107.3 kB / 0.7505 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.2793, allocations: 3.321 MB / 0.7538 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.2794, allocations: 8 kB / 0.7538 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2794, allocations: 0 / 0.7538 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.733e-05/0.2794, allocations: 7.922 kB / 0.7538 GB, free: 11.36 MB / 0.5294 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.01423/0.2936, allocations: 4.662 MB / 0.7584 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.2936, allocations: 4 kB / 0.7584 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006628/0.2943, allocations: 103.9 kB / 0.7585 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005527/0.2998, allocations: 1.465 MB / 0.7599 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.3, allocations: 16 kB / 0.7599 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01772/0.3177, allocations: 7.375 MB / 0.7671 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.3177, allocations: 3.984 kB / 0.7671 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.3312, allocations: 4.183 MB / 0.7712 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.3315, allocations: 119.1 kB / 0.7713 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.3317, allocations: 12 kB / 0.7713 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009621/0.3327, allocations: 79.91 kB / 0.7714 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005944/0.3333, allocations: 180.7 kB / 0.7716 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.47e-05/0.3334, allocations: 24 kB / 0.7716 GB, free: 8.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000742/0.3341, allocations: 0.5185 MB / 0.7721 GB, free: 8.371 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3341, allocations: 0 / 0.7721 GB, free: 8.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001296/0.3354, allocations: 371.7 kB / 0.7724 GB, free: 8.008 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,exponentialRecovery.xp,exponentialRecovery.xq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * 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 {(20,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01378/0.3492, allocations: 4.765 MB / 0.7771 GB, free: 3.219 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005991/0.3552, allocations: 1.978 MB / 0.779 GB, free: 1.219 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3552, allocations: 0 / 0.779 GB, free: 1.219 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004044/0.3592, allocations: 1.287 MB / 0.7803 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/0.36, allocations: 87.17 kB / 0.7804 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0336/0.3936, allocations: 12.98 MB / 0.793 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008536/0.3945, allocations: 1.025 MB / 0.794 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000478/0.395, allocations: 97.69 kB / 0.7941 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005925/0.3956, allocations: 367.3 kB / 0.7945 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/0.3956, allocations: 0 / 0.7945 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.364/0.7596, allocations: 30.27 MB / 0.8241 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/16.68, allocations: 6.125 kB / 0.8241 GB, free: 101.4 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery_fmu --startTime=0 --stopTime=15 --stepSize=0.03 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.11490261205472] Failed to read output from testmodel.py, exit status != 0: 16.863726958981715 16.882510656 16.723079667 Calling exit ...