Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.084/0.084, allocations: 12.37 MB / 31.22 MB, free: 6.41 MB / 26.18 MB " [Timeout remaining time 180] 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.001325/0.001325, allocations: 105 kB / 37.25 MB, free: 1.105 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 207.7 MB / 250.9 MB, free: 7.277 MB / 190.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.001555/0.001555, allocations: 216.3 kB / 306.1 MB, free: 296 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3251/0.3251, allocations: 79.73 MB / 441 MB, free: 12.27 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.004613/0.004613, allocations: 147.8 kB / 0.5875 GB, free: 9.352 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1352, allocations: 71.96 MB / 0.6578 GB, free: 1.328 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2451/0.3804, allocations: 5.149 MB / 0.6628 GB, free: 8.328 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.3833, allocations: 1.638 MB / 0.6644 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004077/0.3837, allocations: 13.56 kB / 0.6644 GB, free: 7.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.3841, allocations: 206.2 kB / 0.6646 GB, free: 7.578 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.3855, allocations: 0.7133 MB / 0.6653 GB, free: 7.254 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.3866, allocations: 0.5569 MB / 0.6659 GB, free: 7.117 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.3877, allocations: 1.262 MB / 0.6671 GB, free: 6.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.388, allocations: 172.7 kB / 0.6673 GB, free: 6.387 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.3885, allocations: 0.5436 MB / 0.6678 GB, free: 6.121 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005721/0.3891, allocations: 0.5883 MB / 0.6684 GB, free: 5.867 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.3892, allocations: 87.41 kB / 0.6684 GB, free: 5.867 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.3896, allocations: 218.7 kB / 0.6687 GB, free: 5.828 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.3898, allocations: 245 kB / 0.6689 GB, free: 5.664 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.3901, allocations: 456.8 kB / 0.6693 GB, free: 5.398 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.3915, allocations: 1.372 MB / 0.6707 GB, free: 4.773 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3915, allocations: 0 / 0.6707 GB, free: 4.773 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3915, allocations: 0.8438 kB / 0.6707 GB, free: 4.773 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.3915, allocations: 0 / 0.6707 GB, free: 4.773 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006895/0.3984, allocations: 2.306 MB / 0.6729 GB, free: 3.754 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3984, allocations: 11.45 kB / 0.6729 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.3985, allocations: 115.7 kB / 0.673 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004836/0.4034, allocations: 0.7672 MB / 0.6738 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.4046, allocations: 0.6559 MB / 0.6744 GB, free: 3.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.4049, allocations: 297.1 kB / 0.6747 GB, free: 2.777 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.405, allocations: 74.44 kB / 0.6748 GB, free: 2.754 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.4069, allocations: 0.9612 MB / 0.6757 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.4069, allocations: 0 / 0.6757 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.696e-05/0.407, allocations: 29.44 kB / 0.6757 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.407, allocations: 16.34 kB / 0.6758 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.4091, allocations: 0.97 MB / 0.6767 GB, free: 2.059 MB / 462.1 MB 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.004687/0.4138, allocations: 2.364 MB / 0.679 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.4154, allocations: 0.7748 MB / 0.6798 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.4167, allocations: 0.6314 MB / 0.6804 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.337e-05/0.4168, allocations: 10.33 kB / 0.6804 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.4168, allocations: 41.61 kB / 0.6804 GB, free: 296 kB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.515e-06/0.4168, allocations: 0 / 0.6804 GB, free: 296 kB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02622/0.443, allocations: 6.372 MB / 0.6867 GB, free: 14.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.4431, allocations: 64.78 kB / 0.6867 GB, free: 14.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.4443, allocations: 0.7953 MB / 0.6875 GB, free: 13.76 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.4445, allocations: 51.75 kB / 0.6876 GB, free: 13.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.4449, allocations: 439.9 kB / 0.688 GB, free: 13.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000362/0.4452, allocations: 314.7 kB / 0.6883 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.4456, allocations: 183 kB / 0.6884 GB, free: 12.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4458, allocations: 347.4 kB / 0.6888 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.4474, allocations: 0.6599 MB / 0.6894 GB, free: 12.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.4491, allocations: 0.7914 MB / 0.6902 GB, free: 11.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/0.4671, allocations: 4.519 MB / 0.6946 GB, free: 9.586 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/0.4671, allocations: 1.219 kB / 0.6946 GB, free: 9.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01373/0.4808, allocations: 4.044 MB / 0.6986 GB, free: 7.609 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.4809, allocations: 6.188 kB / 0.6986 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.4809, allocations: 2.156 kB / 0.6986 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006282/0.4872, allocations: 1.736 MB / 0.7003 GB, free: 6.859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/0.4881, allocations: 182.4 kB / 0.7004 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/0.5111, allocations: 8.767 MB / 0.709 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.5127, allocations: 159.2 kB / 0.7091 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.5129, allocations: 35.98 kB / 0.7092 GB, free: 14.64 MB / 494.1 MB 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 (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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007066/0.5136, allocations: 229.5 kB / 0.7094 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/0.514, allocations: 107.3 kB / 0.7095 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.5275, allocations: 3.778 MB / 0.7132 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/0.5275, allocations: 15.94 kB / 0.7132 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.5276, allocations: 7.938 kB / 0.7132 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/0.5276, allocations: 3.984 kB / 0.7132 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.5441, allocations: 4.752 MB / 0.7179 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.5441, allocations: 0 / 0.7179 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005784/0.5447, allocations: 91.89 kB / 0.7179 GB, free: 5.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006346/0.5511, allocations: 1.747 MB / 0.7197 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.5512, allocations: 12 kB / 0.7197 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02065/0.5719, allocations: 7.759 MB / 0.7272 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5719, allocations: 1.078 kB / 0.7272 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/0.5878, allocations: 4.709 MB / 0.7318 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.5881, allocations: 111.2 kB / 0.7319 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.5884, allocations: 23.92 kB / 0.732 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.5894, allocations: 87.91 kB / 0.7321 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006233/0.59, allocations: 224.3 kB / 0.7323 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.891e-05/0.5901, allocations: 20 kB / 0.7323 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008311/0.5909, allocations: 0.5303 MB / 0.7328 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5909, allocations: 0 / 0.7328 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001309/0.5922, allocations: 411.6 kB / 0.7332 GB, free: 5.828 MB / 0.4981 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 (50): * Single equations (assignments): 49 * 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.01589/0.6081, allocations: 5.281 MB / 0.7384 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006791/0.6149, allocations: 2.2 MB / 0.7405 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6149, allocations: 0 / 0.7405 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004822/0.6198, allocations: 1.45 MB / 0.7419 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/0.6206, allocations: 79.34 kB / 0.742 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03808/0.6587, allocations: 14.15 MB / 0.7558 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/0.6592, allocations: 442.6 kB / 0.7562 GB, free: 14 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003588/0.6596, allocations: 78.31 kB / 0.7563 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/0.6602, allocations: 379.2 kB / 0.7567 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/0.6602, allocations: 0 / 0.7567 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07815/0.7383, allocations: 32.99 MB / 0.7889 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.3, allocations: 8.047 kB / 0.7889 GB, free: 12.5 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.65340358018875] Failed to read output from testmodel.py, exit status != 0: 14.434593748766929 14.460404005000001 14.064092086 Calling exit ...