Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.001844/0.001844, allocations: 111 kB / 16.46 MB, free: 6.453 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.541/1.541, allocations: 230.6 MB / 249.8 MB, free: 9.223 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.001629/0.001629, allocations: 205.4 kB / 306 MB, free: 4.309 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.5702/0.5702, allocations: 101.3 MB / 463.4 MB, free: 11.91 MB / 334.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.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.002513/0.002513, allocations: 91.86 kB / 0.6193 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.163, allocations: 78.56 MB / 0.6961 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.3096/0.4726, allocations: 6.516 MB / 0.7024 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004055/0.4767, allocations: 1.971 MB / 0.7043 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008645/0.4775, allocations: 15.47 kB / 0.7044 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006468/0.4782, allocations: 232.7 kB / 0.7046 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.4801, allocations: 0.7813 MB / 0.7053 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.4816, allocations: 0.6225 MB / 0.706 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.4833, allocations: 1.439 MB / 0.7074 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.4837, allocations: 230.8 kB / 0.7076 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007246/0.4844, allocations: 0.6146 MB / 0.7082 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007373/0.4851, allocations: 0.7433 MB / 0.7089 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.4853, allocations: 103.9 kB / 0.709 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005522/0.4859, allocations: 250.8 kB / 0.7092 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.4861, allocations: 282.4 kB / 0.7095 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005609/0.4867, allocations: 0.6238 MB / 0.7101 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.4888, allocations: 1.55 MB / 0.7116 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4888, allocations: 3.938 kB / 0.7116 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4888, allocations: 0 / 0.7116 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.962e-05/0.4888, allocations: 0 / 0.7116 GB, free: 15.88 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.01121/0.5, allocations: 2.625 MB / 0.7142 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.5001, allocations: 11.72 kB / 0.7142 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002797/0.5003, allocations: 125.4 kB / 0.7143 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009173/0.5095, allocations: 0.832 MB / 0.7151 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.5121, allocations: 0.7962 MB / 0.7159 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004616/0.5126, allocations: 257.3 kB / 0.7162 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.5129, allocations: 82.42 kB / 0.7162 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003934/0.5168, allocations: 1.081 MB / 0.7173 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.5168, allocations: 0 / 0.7173 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.517, allocations: 32.59 kB / 0.7173 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.517, allocations: 17.77 kB / 0.7173 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005035/0.5221, allocations: 1.119 MB / 0.7184 GB, free: 12.8 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.01269/0.5347, allocations: 3.454 MB / 0.7218 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/0.5392, allocations: 1.336 MB / 0.7231 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00363/0.5428, allocations: 0.7042 MB / 0.7238 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.543, allocations: 16.73 kB / 0.7238 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.445e-05/0.543, allocations: 44.31 kB / 0.7239 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=97): time 4.669e-06/0.543, allocations: 4.531 kB / 0.7239 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97): time 0.04986/0.5929, allocations: 6.577 MB / 0.7303 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/0.593, allocations: 61.56 kB / 0.7304 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.5953, allocations: 0.9082 MB / 0.7312 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004003/0.5957, allocations: 45.3 kB / 0.7313 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006856/0.5964, allocations: 0.501 MB / 0.7318 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007615/0.5971, allocations: 360.3 kB / 0.7321 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000774/0.5979, allocations: 203.6 kB / 0.7323 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002621/0.5982, allocations: 356.2 kB / 0.7326 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003456/0.6016, allocations: 0.7147 MB / 0.7333 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003566/0.6052, allocations: 0.8498 MB / 0.7342 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03782/0.643, allocations: 4.947 MB / 0.739 GB, free: 2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/0.643, allocations: 5.062 kB / 0.739 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.02721/0.6702, allocations: 4.246 MB / 0.7432 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.6703, allocations: 9.5 kB / 0.7432 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.6703, allocations: 6.875 kB / 0.7432 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01215/0.6825, allocations: 1.81 MB / 0.7449 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/0.6847, allocations: 205.7 kB / 0.7451 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04138/0.7261, allocations: 9.326 MB / 0.7542 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002908/0.729, allocations: 187.2 kB / 0.7544 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/0.7293, allocations: 39.98 kB / 0.7545 GB, free: 5.73 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001239/0.7306, allocations: 246.5 kB / 0.7547 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/0.7312, allocations: 131.1 kB / 0.7548 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02202/0.7533, allocations: 3.975 MB / 0.7587 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/0.7533, allocations: 16 kB / 0.7587 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7533, allocations: 0 / 0.7587 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.811e-05/0.7533, allocations: 7.922 kB / 0.7587 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01848/0.7718, allocations: 5.575 MB / 0.7642 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/0.7718, allocations: 6.938 kB / 0.7642 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000979/0.7728, allocations: 131.8 kB / 0.7643 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00684/0.7797, allocations: 1.745 MB / 0.766 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002945/0.78, allocations: 19.94 kB / 0.766 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/0.8013, allocations: 8.089 MB / 0.7739 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8013, allocations: 0 / 0.7739 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/0.8187, allocations: 4.945 MB / 0.7788 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.8191, allocations: 204.1 kB / 0.779 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/0.8196, allocations: 20 kB / 0.779 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.8209, allocations: 111.8 kB / 0.7791 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000894/0.8218, allocations: 220.7 kB / 0.7793 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.822, allocations: 28 kB / 0.7793 GB, free: 11.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001034/0.823, allocations: 0.6051 MB / 0.7799 GB, free: 11.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.823, allocations: 0 / 0.7799 GB, free: 11.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00173/0.8247, allocations: 447.5 kB / 0.7803 GB, free: 10.88 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01766/0.8424, allocations: 5.519 MB / 0.7857 GB, free: 5.328 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008518/0.8509, allocations: 2.391 MB / 0.7881 GB, free: 2.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8509, allocations: 0 / 0.7881 GB, free: 2.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005768/0.8567, allocations: 1.525 MB / 0.7895 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.858, allocations: 97.98 kB / 0.7896 GB, free: 1.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04514/0.9032, allocations: 15.34 MB / 0.8046 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008817/0.9041, allocations: 1.107 MB / 0.8057 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004775/0.9045, allocations: 82.89 kB / 0.8058 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007424/0.9053, allocations: 447.3 kB / 0.8062 GB, free: 108 kB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.9053, allocations: 0 / 0.8062 GB, free: 108 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08423/0.9895, allocations: 34.23 MB / 0.8396 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.92/18.91, allocations: 11.98 kB / 0.8396 GB, free: 14.01 MB / 0.6075 GB " [Timeout remaining time 641] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.664402317022905] Failed to read output from testmodel.py, exit status != 0: 19.022162487031892 19.044185762 18.551127209 Calling exit ...