Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0008814/0.0008814, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.9261/0.9261, allocations: 177.1 MB / 199.4 MB, free: 5.945 MB / 186.7 MB " [Timeout remaining time 179] 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.001209/0.001209, allocations: 159.3 kB / 256 MB, free: 13.35 MB / 250.7 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.303/0.303, allocations: 80.25 MB / 392.6 MB, free: 2.445 MB / 314.7 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.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5548 GB, free: 12.66 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.967e-05, allocations: 9.172 kB / 0.5548 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.00453/0.00455, allocations: 5.718 MB / 0.5604 GB, free: 6.902 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.007239, allocations: 1.884 MB / 0.5622 GB, free: 5.016 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003583/0.007597, allocations: 15.94 kB / 0.5622 GB, free: 5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.00803, allocations: 225.9 kB / 0.5625 GB, free: 4.777 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.01006, allocations: 0.7716 MB / 0.5632 GB, free: 4.004 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.01136, allocations: 0.6391 MB / 0.5638 GB, free: 3.371 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.0132, allocations: 1.467 MB / 0.5653 GB, free: 1.898 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/0.01365, allocations: 216.8 kB / 0.5655 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.01498, allocations: 0.8376 MB / 0.5663 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007039/0.01569, allocations: 0.5763 MB / 0.5669 GB, free: 264 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.01589, allocations: 104 kB / 0.567 GB, free: 160 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005827/0.01648, allocations: 239.8 kB / 0.5672 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.01666, allocations: 290.6 kB / 0.5675 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.01704, allocations: 418.6 kB / 0.5679 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.01882, allocations: 1.588 MB / 0.5694 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.01883, allocations: 0 / 0.5694 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/0.01883, allocations: 0 / 0.5694 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.047e-05/0.01888, allocations: 0 / 0.5694 GB, free: 13.63 MB / 0.4948 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.005492/0.02437, allocations: 2.534 MB / 0.5719 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.02442, allocations: 8.031 kB / 0.5719 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.02456, allocations: 130.8 kB / 0.572 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00286/0.02742, allocations: 0.8186 MB / 0.5728 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.02873, allocations: 0.7287 MB / 0.5735 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.02898, allocations: 307.6 kB / 0.5738 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.02916, allocations: 80 kB / 0.5739 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.03083, allocations: 1.081 MB / 0.575 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.03084, allocations: 4 kB / 0.575 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.03092, allocations: 32 kB / 0.575 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.03094, allocations: 19.94 kB / 0.575 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.0331, allocations: 1.117 MB / 0.5761 GB, free: 6.629 MB / 0.4948 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.004627/0.03773, allocations: 2.615 MB / 0.5787 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.03914, allocations: 0.8886 MB / 0.5795 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.04023, allocations: 0.7031 MB / 0.5802 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.8e-05/0.04032, allocations: 17 kB / 0.5802 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.04035, allocations: 39.56 kB / 0.5803 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=97): time 3.857e-06/0.04036, allocations: 0 / 0.5803 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.01881/0.05916, allocations: 6.509 MB / 0.5866 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.05922, allocations: 64.41 kB / 0.5867 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.06038, allocations: 0.9087 MB / 0.5876 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002165/0.0606, allocations: 41.7 kB / 0.5876 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.06098, allocations: 0.5053 MB / 0.5881 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/0.06135, allocations: 352.9 kB / 0.5884 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.06164, allocations: 202.9 kB / 0.5886 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.06175, allocations: 341.9 kB / 0.589 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.06313, allocations: 0.7287 MB / 0.5897 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.06439, allocations: 0.8462 MB / 0.5905 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/0.07618, allocations: 4.951 MB / 0.5953 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.0762, allocations: 0 / 0.5953 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.2275/0.3037, allocations: 4.242 MB / 0.5995 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.3038, allocations: 6.469 kB / 0.5995 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3038, allocations: 3.125 kB / 0.5995 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003432/0.3072, allocations: 1.801 MB / 0.6012 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.3079, allocations: 212.6 kB / 0.6014 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.3208, allocations: 9.018 MB / 0.6103 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.3218, allocations: 182.2 kB / 0.6104 GB, free: 88.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.832e-05/0.3219, allocations: 39.45 kB / 0.6105 GB, free: 88.41 MB / 0.5105 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.0003871/0.3223, allocations: 252.8 kB / 0.6107 GB, free: 88.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.3225, allocations: 128.8 kB / 0.6108 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00757/0.33, allocations: 3.976 MB / 0.6147 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.33, allocations: 8.594 kB / 0.6147 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.33, allocations: 5.344 kB / 0.6147 GB, free: 87.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.3301, allocations: 9 kB / 0.6147 GB, free: 87.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009144/0.3392, allocations: 4.972 MB / 0.6196 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.3392, allocations: 0 / 0.6196 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.3397, allocations: 131.4 kB / 0.6197 GB, free: 85.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003778/0.3434, allocations: 1.743 MB / 0.6214 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/0.3436, allocations: 18.03 kB / 0.6214 GB, free: 85.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.3548, allocations: 7.775 MB / 0.629 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3548, allocations: 0.7812 kB / 0.629 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00908/0.3639, allocations: 4.939 MB / 0.6339 GB, free: 80.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/0.3643, allocations: 133.3 kB / 0.634 GB, free: 80.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.3645, allocations: 16.12 kB / 0.634 GB, free: 80.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/0.3651, allocations: 112.4 kB / 0.6341 GB, free: 80.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005365/0.3657, allocations: 228 kB / 0.6343 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/0.3657, allocations: 20.5 kB / 0.6343 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006006/0.3663, allocations: 0.6118 MB / 0.6349 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3663, allocations: 5.875 kB / 0.6349 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001189/0.3675, allocations: 446.3 kB / 0.6354 GB, free: 79.54 MB / 0.5105 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.008358/0.3759, allocations: 5.531 MB / 0.6408 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00394/0.3798, allocations: 2.382 MB / 0.6431 GB, free: 74.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3798, allocations: 0 / 0.6431 GB, free: 74.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002509/0.3823, allocations: 1.52 MB / 0.6446 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.3829, allocations: 92.41 kB / 0.6447 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/0.4037, allocations: 15.24 MB / 0.6596 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.404, allocations: 0.5098 MB / 0.6601 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003383/0.4043, allocations: 90.73 kB / 0.6601 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.4047, allocations: 448.3 kB / 0.6606 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of SimCode: time 1.784e-06/0.4047, allocations: 4 kB / 0.6606 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/0.4538, allocations: 36.22 MB / 0.6959 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.895/9.349, allocations: 6.188 kB / 0.6959 GB, free: 20.75 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.796361300162971] Failed to read output from testmodel.py, exit status != 0: 9.457325741648674 9.463247328 9.442957884 Calling exit ...