Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.001601/0.001601, allocations: 106.1 kB / 16.45 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.464/1.464, allocations: 230.6 MB / 249.8 MB, free: 9.207 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.002429/0.002429, allocations: 220.5 kB / 306 MB, free: 4.27 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.583/0.583, allocations: 101.3 MB / 463.4 MB, free: 11.87 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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.00251/0.00251, allocations: 79.89 kB / 0.6193 GB, free: 15.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1496, allocations: 78.57 MB / 0.6961 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2689/0.4185, allocations: 6.559 MB / 0.7025 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.4222, allocations: 2.002 MB / 0.7044 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007662/0.423, allocations: 15.03 kB / 0.7044 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.4235, allocations: 227.3 kB / 0.7047 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.4253, allocations: 0.7903 MB / 0.7054 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.4267, allocations: 0.6355 MB / 0.706 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.4282, allocations: 1.447 MB / 0.7075 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.4286, allocations: 228.4 kB / 0.7077 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006964/0.4293, allocations: 0.618 MB / 0.7083 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000715/0.43, allocations: 0.7364 MB / 0.709 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.4301, allocations: 102.2 kB / 0.7091 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/0.4306, allocations: 255.8 kB / 0.7093 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.4308, allocations: 280.3 kB / 0.7096 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.4313, allocations: 0.6302 MB / 0.7102 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.4331, allocations: 1.543 MB / 0.7117 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4331, allocations: 0 / 0.7117 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4331, allocations: 0 / 0.7117 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.112e-05/0.4331, allocations: 4 kB / 0.7117 GB, free: 15.8 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00901/0.4421, allocations: 2.63 MB / 0.7143 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4422, allocations: 10.69 kB / 0.7143 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/0.4424, allocations: 126.8 kB / 0.7144 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005454/0.4478, allocations: 0.8235 MB / 0.7152 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.4492, allocations: 0.7898 MB / 0.716 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/0.4495, allocations: 259.1 kB / 0.7163 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.4497, allocations: 86.62 kB / 0.7163 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.4521, allocations: 1.078 MB / 0.7174 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.4521, allocations: 0 / 0.7174 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.4522, allocations: 34.39 kB / 0.7174 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.4523, allocations: 18.59 kB / 0.7174 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002843/0.4551, allocations: 1.12 MB / 0.7185 GB, free: 12.73 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.006927/0.462, allocations: 3.489 MB / 0.7219 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.4645, allocations: 1.333 MB / 0.7232 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.4665, allocations: 0.7013 MB / 0.7239 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.4666, allocations: 21.27 kB / 0.724 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.4667, allocations: 43.25 kB / 0.724 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 2.675e-06/0.4667, allocations: 0 / 0.724 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.02957/0.4962, allocations: 6.85 MB / 0.7307 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.4963, allocations: 66 kB / 0.7307 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.4977, allocations: 0.8958 MB / 0.7316 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.4979, allocations: 46.14 kB / 0.7317 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/0.4983, allocations: 0.4998 MB / 0.7322 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.4987, allocations: 365.6 kB / 0.7325 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004548/0.4992, allocations: 209.7 kB / 0.7327 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4994, allocations: 351.6 kB / 0.733 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.5012, allocations: 0.7312 MB / 0.7337 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.5032, allocations: 0.859 MB / 0.7346 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02144/0.5247, allocations: 4.955 MB / 0.7394 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.5247, allocations: 1.188 kB / 0.7394 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01557/0.5402, allocations: 4.26 MB / 0.7436 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5403, allocations: 10 kB / 0.7436 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5403, allocations: 1.344 kB / 0.7436 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006517/0.5468, allocations: 1.732 MB / 0.7453 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.5482, allocations: 227.5 kB / 0.7455 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02404/0.5722, allocations: 9.06 MB / 0.7544 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.574, allocations: 187.2 kB / 0.7545 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.5741, allocations: 39.98 kB / 0.7546 GB, free: 5.598 MB / 0.5137 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005567/0.5747, allocations: 241.6 kB / 0.7548 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.5749, allocations: 131.1 kB / 0.7549 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/0.5898, allocations: 3.979 MB / 0.7588 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.5899, allocations: 12 kB / 0.7588 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.5899, allocations: 0 / 0.7588 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.5899, allocations: 6.75 kB / 0.7588 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/0.6073, allocations: 5.591 MB / 0.7643 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.6073, allocations: 3.938 kB / 0.7643 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/0.6081, allocations: 135.8 kB / 0.7644 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006724/0.6149, allocations: 1.742 MB / 0.7661 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/0.615, allocations: 16 kB / 0.7661 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02143/0.6365, allocations: 8.063 MB / 0.774 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.6365, allocations: 0 / 0.774 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/0.654, allocations: 4.945 MB / 0.7788 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004363/0.6544, allocations: 208 kB / 0.779 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.6546, allocations: 28 kB / 0.7791 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.6558, allocations: 103.9 kB / 0.7792 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007769/0.6565, allocations: 212.8 kB / 0.7794 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.471e-05/0.6566, allocations: 35.98 kB / 0.7794 GB, free: 11.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008545/0.6575, allocations: 0.6012 MB / 0.78 GB, free: 11.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6575, allocations: 0 / 0.78 GB, free: 11.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00135/0.6588, allocations: 439.6 kB / 0.7804 GB, free: 10.79 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.01783/0.6767, allocations: 5.519 MB / 0.7858 GB, free: 5.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007882/0.6845, allocations: 2.361 MB / 0.7881 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6846, allocations: 0 / 0.7881 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005577/0.6901, allocations: 1.533 MB / 0.7896 GB, free: 1.305 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.691, allocations: 94.77 kB / 0.7897 GB, free: 1.215 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04385/0.7348, allocations: 15.38 MB / 0.8047 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008761/0.7357, allocations: 1.103 MB / 0.8058 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005007/0.7362, allocations: 86.89 kB / 0.8059 GB, free: 432 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/0.7369, allocations: 451.3 kB / 0.8063 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of SimCode: time 1.323e-06/0.7369, allocations: 0 / 0.8063 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07644/0.8133, allocations: 34.02 MB / 0.8395 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.77/18.58, allocations: 12 kB / 0.8395 GB, free: 14.09 MB / 0.6075 GB " [Timeout remaining time 641] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.28353566606529] Failed to read output from testmodel.py, exit status != 0: 18.69622981012799 18.72167614 18.283674752 Calling exit ...