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.08513/0.08513, allocations: 12.37 MB / 31.2 MB, free: 24 kB / 19.63 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.001206/0.001206, allocations: 123.5 kB / 37.25 MB, free: 1.242 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.32/1.32, allocations: 207.6 MB / 250.8 MB, free: 7.391 MB / 190.1 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.001481/0.001481, allocations: 220.4 kB / 306.1 MB, free: 480 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.3106/0.3106, allocations: 79.73 MB / 440.9 MB, free: 12.45 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.00414/0.00414, allocations: 147.8 kB / 0.5875 GB, free: 7.59 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3367, allocations: 71.95 MB / 0.6578 GB, free: 2.641 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006007/0.3428, allocations: 5.885 MB / 0.6635 GB, free: 14.35 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.3465, allocations: 1.732 MB / 0.6652 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006386/0.3471, allocations: 16.81 kB / 0.6653 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005168/0.3476, allocations: 199.7 kB / 0.6654 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.3495, allocations: 0.7448 MB / 0.6662 GB, free: 12.5 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.00139/0.3509, allocations: 0.5589 MB / 0.6667 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.3527, allocations: 1.259 MB / 0.6679 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.353, allocations: 190.4 kB / 0.6681 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007472/0.3538, allocations: 0.5444 MB / 0.6687 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000888/0.3547, allocations: 0.6449 MB / 0.6693 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.3548, allocations: 88.16 kB / 0.6694 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.3554, allocations: 232.2 kB / 0.6696 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.3556, allocations: 241 kB / 0.6698 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005318/0.3561, allocations: 0.5429 MB / 0.6704 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.3579, allocations: 1.364 MB / 0.6717 GB, free: 9.684 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3579, allocations: 0 / 0.6717 GB, free: 9.684 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3579, allocations: 0 / 0.6717 GB, free: 9.684 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.665e-05/0.3579, allocations: 0 / 0.6717 GB, free: 9.684 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.007627/0.3655, allocations: 2.309 MB / 0.6739 GB, free: 8.336 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3656, allocations: 13.39 kB / 0.674 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.3657, allocations: 117.5 kB / 0.6741 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/0.3705, allocations: 0.7569 MB / 0.6748 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.3719, allocations: 0.6689 MB / 0.6755 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003291/0.3722, allocations: 302.1 kB / 0.6757 GB, free: 7.074 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.3724, allocations: 68.84 kB / 0.6758 GB, free: 7.051 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.3744, allocations: 0.9598 MB / 0.6768 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3744, allocations: 0 / 0.6768 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/0.3745, allocations: 29.66 kB / 0.6768 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.3745, allocations: 16 kB / 0.6768 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.3766, allocations: 0.9783 MB / 0.6778 GB, free: 6.02 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.00571/0.3823, allocations: 3.123 MB / 0.6808 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.384, allocations: 0.7744 MB / 0.6816 GB, free: 3.145 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.3854, allocations: 0.6324 MB / 0.6822 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.3855, allocations: 14.36 kB / 0.6822 GB, free: 2.824 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.3855, allocations: 38.22 kB / 0.6822 GB, free: 2.781 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 4.058e-06/0.3855, allocations: 5.391 kB / 0.6822 GB, free: 2.777 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02445/0.41, allocations: 6.367 MB / 0.6884 GB, free: 15.67 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.41, allocations: 64.38 kB / 0.6885 GB, free: 15.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.4112, allocations: 0.7986 MB / 0.6893 GB, free: 15.15 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.4114, allocations: 45.27 kB / 0.6893 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.4117, allocations: 433 kB / 0.6897 GB, free: 14.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/0.412, allocations: 324 kB / 0.6901 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/0.4124, allocations: 186.8 kB / 0.6902 GB, free: 14.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4126, allocations: 343 kB / 0.6906 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.414, allocations: 0.6593 MB / 0.6912 GB, free: 13.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.4156, allocations: 0.7858 MB / 0.692 GB, free: 13.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01723/0.4328, allocations: 4.516 MB / 0.6964 GB, free: 10.62 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.4328, allocations: 4 kB / 0.6964 GB, free: 10.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01286/0.4457, allocations: 4.044 MB / 0.7003 GB, free: 6.555 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4457, allocations: 8 kB / 0.7003 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4457, allocations: 0 / 0.7003 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005827/0.4515, allocations: 1.738 MB / 0.702 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009385/0.4525, allocations: 187.7 kB / 0.7022 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/0.4734, allocations: 8.964 MB / 0.711 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.4748, allocations: 155.3 kB / 0.7111 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/0.4749, allocations: 43.98 kB / 0.7112 GB, free: 11.34 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.0004511/0.4754, allocations: 229.5 kB / 0.7114 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.4756, allocations: 107.3 kB / 0.7115 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.4877, allocations: 3.782 MB / 0.7152 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.4877, allocations: 11.94 kB / 0.7152 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.4877, allocations: 0 / 0.7152 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.4877, allocations: 3.984 kB / 0.7152 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.5022, allocations: 5.313 MB / 0.7204 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.5022, allocations: 4 kB / 0.7204 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.5028, allocations: 91.83 kB / 0.7205 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005743/0.5085, allocations: 1.749 MB / 0.7222 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.5086, allocations: 12 kB / 0.7222 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/0.5268, allocations: 7.957 MB / 0.73 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5268, allocations: 0 / 0.73 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.5413, allocations: 4.705 MB / 0.7346 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.5418, allocations: 119.1 kB / 0.7347 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.5419, allocations: 23.98 kB / 0.7347 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008762/0.5428, allocations: 87.91 kB / 0.7348 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006017/0.5434, allocations: 220.3 kB / 0.735 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.536e-05/0.5435, allocations: 20 kB / 0.735 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006997/0.5442, allocations: 0.5342 MB / 0.7355 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5442, allocations: 3.938 kB / 0.7355 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001218/0.5454, allocations: 407.7 kB / 0.7359 GB, free: 1.684 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.01489/0.5603, allocations: 5.278 MB / 0.7411 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006422/0.5667, allocations: 2.191 MB / 0.7432 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5667, allocations: 4.5 kB / 0.7432 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004749/0.5714, allocations: 1.452 MB / 0.7446 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5725, allocations: 79.34 kB / 0.7447 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03516/0.6076, allocations: 14.15 MB / 0.7585 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000712/0.6083, allocations: 1.033 MB / 0.7595 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003837/0.6087, allocations: 78.31 kB / 0.7596 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/0.6093, allocations: 379.3 kB / 0.76 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.6093, allocations: 0 / 0.76 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07412/0.6834, allocations: 32.09 MB / 0.7913 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/16.6, allocations: 3.984 kB / 0.7913 GB, free: 8.703 MB / 0.5606 GB " [Timeout remaining time 643] (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: 19.742533624998032] Failed to read output from testmodel.py, exit status != 0: 16.736841302998073 16.751343695 16.390318185 Calling exit ...