Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.001309/0.001309, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.508/1.508, allocations: 230.6 MB / 252.7 MB, free: 8.309 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.00156/0.00156, allocations: 224.6 kB / 309.2 MB, free: 3.148 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.555/0.555, allocations: 101.3 MB / 467 MB, free: 10.32 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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.002553/0.002553, allocations: 79.88 kB / 0.6244 GB, free: 12.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4229, allocations: 78.61 MB / 0.7012 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006213/0.4291, allocations: 6.484 MB / 0.7075 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.4325, allocations: 1.972 MB / 0.7095 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005951/0.4331, allocations: 16 kB / 0.7095 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004686/0.4336, allocations: 221.4 kB / 0.7097 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.4351, allocations: 0.7803 MB / 0.7105 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.4363, allocations: 0.6305 MB / 0.7111 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.4376, allocations: 1.414 MB / 0.7125 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.4379, allocations: 225.7 kB / 0.7127 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006439/0.4386, allocations: 0.6145 MB / 0.7133 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/0.4393, allocations: 0.7224 MB / 0.714 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.4394, allocations: 101.3 kB / 0.7141 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.4399, allocations: 256.4 kB / 0.7143 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.4401, allocations: 278.5 kB / 0.7146 GB, free: 428 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003807/0.4405, allocations: 0.618 MB / 0.7152 GB, free: 0 / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.4424, allocations: 1.537 MB / 0.7167 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.4424, allocations: 0 / 0.7167 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4424, allocations: 0 / 0.7167 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.048e-05/0.4425, allocations: 0 / 0.7167 GB, free: 15.28 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008263/0.4507, allocations: 2.542 MB / 0.7192 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4507, allocations: 8.562 kB / 0.7192 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.4509, allocations: 125.9 kB / 0.7193 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00549/0.4564, allocations: 0.8184 MB / 0.7201 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.4582, allocations: 0.7172 MB / 0.7208 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003427/0.4585, allocations: 315.4 kB / 0.7211 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.4587, allocations: 74.22 kB / 0.7212 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.4611, allocations: 1.08 MB / 0.7222 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.4611, allocations: 3.938 kB / 0.7222 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.4613, allocations: 38.72 kB / 0.7223 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.4613, allocations: 18.41 kB / 0.7223 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.464, allocations: 1.118 MB / 0.7234 GB, free: 12.29 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.006747/0.4708, allocations: 3.375 MB / 0.7267 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.4731, allocations: 0.8714 MB / 0.7275 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.4748, allocations: 0.7022 MB / 0.7282 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.4749, allocations: 16.58 kB / 0.7282 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.475, allocations: 44.78 kB / 0.7283 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 2.896e-06/0.475, allocations: 0 / 0.7283 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02726/0.5022, allocations: 6.639 MB / 0.7347 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.5023, allocations: 62.16 kB / 0.7348 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.5037, allocations: 0.8892 MB / 0.7357 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000251/0.504, allocations: 49.67 kB / 0.7357 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000433/0.5044, allocations: 0.5008 MB / 0.7362 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/0.5048, allocations: 355 kB / 0.7365 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004106/0.5052, allocations: 193.2 kB / 0.7367 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5054, allocations: 351.8 kB / 0.7371 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.5071, allocations: 0.7187 MB / 0.7378 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.5089, allocations: 0.8371 MB / 0.7386 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02052/0.5294, allocations: 4.893 MB / 0.7434 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.5294, allocations: 5.219 kB / 0.7434 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01463/0.5441, allocations: 4.224 MB / 0.7475 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.5441, allocations: 9.5 kB / 0.7475 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5441, allocations: 2.75 kB / 0.7475 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006533/0.5506, allocations: 1.867 MB / 0.7493 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.5518, allocations: 207.6 kB / 0.7495 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02358/0.5754, allocations: 8.988 MB / 0.7583 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.5771, allocations: 183.2 kB / 0.7585 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.5772, allocations: 35.98 kB / 0.7585 GB, free: 5.379 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0005815/0.5778, allocations: 252.7 kB / 0.7588 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.578, allocations: 123.2 kB / 0.7589 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.5915, allocations: 3.971 MB / 0.7628 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.5915, allocations: 8 kB / 0.7628 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5915, allocations: 3.938 kB / 0.7628 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.5915, allocations: 7.922 kB / 0.7628 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/0.6076, allocations: 5.555 MB / 0.7682 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.6076, allocations: 3.984 kB / 0.7682 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008319/0.6084, allocations: 131.7 kB / 0.7683 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006159/0.6146, allocations: 1.749 MB / 0.77 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/0.6148, allocations: 23.98 kB / 0.7701 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0198/0.6346, allocations: 7.973 MB / 0.7778 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6346, allocations: 0 / 0.7778 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/0.6505, allocations: 4.941 MB / 0.7827 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/0.6512, allocations: 135 kB / 0.7828 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.6514, allocations: 16 kB / 0.7828 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.6524, allocations: 115.9 kB / 0.7829 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007996/0.6532, allocations: 224.5 kB / 0.7831 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/0.6533, allocations: 28 kB / 0.7832 GB, free: 11.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009323/0.6543, allocations: 0.5969 MB / 0.7837 GB, free: 11.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6543, allocations: 0 / 0.7837 GB, free: 11.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001375/0.6556, allocations: 439.6 kB / 0.7842 GB, free: 10.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.01617/0.6718, allocations: 5.515 MB / 0.7896 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007141/0.6789, allocations: 2.359 MB / 0.7919 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.6789, allocations: 4.125 kB / 0.7919 GB, free: 2.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004942/0.6839, allocations: 1.506 MB / 0.7933 GB, free: 1.352 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009342/0.6848, allocations: 92.41 kB / 0.7934 GB, free: 1.262 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04047/0.7253, allocations: 15.15 MB / 0.8082 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008078/0.7261, allocations: 1.092 MB / 0.8093 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004801/0.7266, allocations: 82.77 kB / 0.8094 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006376/0.7272, allocations: 451.3 kB / 0.8098 GB, free: 280 kB / 0.5606 GB Notification: Performance of SimCode: time 1.663e-06/0.7272, allocations: 0 / 0.8098 GB, free: 280 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08448/0.8117, allocations: 34.61 MB / 0.8436 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.41/19.23, allocations: 6.766 kB / 0.8436 GB, free: 13.8 MB / 0.6075 GB " [Timeout remaining time 641] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.83626555400042] Failed to read output from testmodel.py, exit status != 0: 19.36243991399897 19.386197616 18.939290288 Calling exit ...