Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.0833/0.0833, allocations: 12.37 MB / 31.19 MB, free: 36 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.001196/0.001196, allocations: 113.7 kB / 37.24 MB, free: 1.262 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.361/1.361, allocations: 207.6 MB / 250.8 MB, free: 7.387 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.001502/0.001502, allocations: 212.5 kB / 306.1 MB, free: 496 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.3102/0.3102, allocations: 79.73 MB / 440.9 MB, free: 12.46 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.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.003969/0.003969, allocations: 151.8 kB / 0.5875 GB, free: 7.602 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3501, allocations: 71.95 MB / 0.6578 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005713/0.3558, allocations: 5.784 MB / 0.6635 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003415/0.3592, allocations: 1.706 MB / 0.6651 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005016/0.3597, allocations: 8.844 kB / 0.6651 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005549/0.3603, allocations: 204.7 kB / 0.6653 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.3621, allocations: 0.7357 MB / 0.666 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.3635, allocations: 0.5585 MB / 0.6666 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.3651, allocations: 1.234 MB / 0.6678 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/0.3654, allocations: 185 kB / 0.668 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/0.366, allocations: 0.528 MB / 0.6685 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007908/0.3668, allocations: 0.6397 MB / 0.6691 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.3669, allocations: 86.22 kB / 0.6692 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004947/0.3674, allocations: 227.3 kB / 0.6694 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.3677, allocations: 240.8 kB / 0.6696 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004879/0.3682, allocations: 0.5388 MB / 0.6702 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.3699, allocations: 1.342 MB / 0.6715 GB, free: 9.836 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3699, allocations: 1.219 kB / 0.6715 GB, free: 9.836 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3699, allocations: 0 / 0.6715 GB, free: 9.836 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.3699, allocations: 4 kB / 0.6715 GB, free: 9.832 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007398/0.3773, allocations: 2.288 MB / 0.6737 GB, free: 8.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3773, allocations: 10.22 kB / 0.6737 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.3775, allocations: 116.9 kB / 0.6738 GB, free: 8.418 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004754/0.3822, allocations: 0.7635 MB / 0.6746 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.3836, allocations: 0.6472 MB / 0.6752 GB, free: 7.562 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003801/0.384, allocations: 301.8 kB / 0.6755 GB, free: 7.273 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.3842, allocations: 67.97 kB / 0.6756 GB, free: 7.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.3864, allocations: 0.9465 MB / 0.6765 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.3864, allocations: 1.25 kB / 0.6765 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.694e-05/0.3865, allocations: 24.62 kB / 0.6765 GB, free: 6.691 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.3865, allocations: 15.88 kB / 0.6765 GB, free: 6.691 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.3887, allocations: 0.9698 MB / 0.6775 GB, free: 6.238 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.005418/0.3941, allocations: 3.091 MB / 0.6805 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.3959, allocations: 0.7877 MB / 0.6813 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.3972, allocations: 0.6236 MB / 0.6819 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.3973, allocations: 17.47 kB / 0.6819 GB, free: 3.055 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.3973, allocations: 38.44 kB / 0.6819 GB, free: 3.012 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.475e-06/0.3973, allocations: 0 / 0.6819 GB, free: 3.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.0252/0.4225, allocations: 6.591 MB / 0.6884 GB, free: 15.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.4226, allocations: 67.78 kB / 0.6884 GB, free: 15.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.4237, allocations: 0.7912 MB / 0.6892 GB, free: 15.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.4238, allocations: 40.89 kB / 0.6892 GB, free: 15.21 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.4241, allocations: 430.6 kB / 0.6896 GB, free: 14.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.4245, allocations: 301.7 kB / 0.6899 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.4248, allocations: 177.9 kB / 0.6901 GB, free: 14.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.425, allocations: 343.1 kB / 0.6904 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.4263, allocations: 0.6464 MB / 0.6911 GB, free: 13.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.4278, allocations: 0.7569 MB / 0.6918 GB, free: 13.36 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01652/0.4443, allocations: 4.448 MB / 0.6961 GB, free: 10.87 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.4443, allocations: 0 / 0.6961 GB, free: 10.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01247/0.4568, allocations: 4.005 MB / 0.7001 GB, free: 6.848 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.4568, allocations: 8 kB / 0.7001 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.4568, allocations: 4 kB / 0.7001 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005936/0.4628, allocations: 1.87 MB / 0.7019 GB, free: 4.961 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/0.4636, allocations: 159.8 kB / 0.702 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/0.4842, allocations: 9 MB / 0.7108 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.4855, allocations: 155.3 kB / 0.711 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.735e-05/0.4856, allocations: 35.98 kB / 0.711 GB, free: 11.5 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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.0004454/0.4861, allocations: 229.6 kB / 0.7112 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.4862, allocations: 107.3 kB / 0.7113 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/0.4985, allocations: 3.782 MB / 0.715 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.4986, allocations: 8 kB / 0.715 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.4986, allocations: 7.938 kB / 0.715 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4986, allocations: 3.984 kB / 0.7151 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.5126, allocations: 5.27 MB / 0.7202 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.5126, allocations: 3.938 kB / 0.7202 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.5131, allocations: 91.83 kB / 0.7203 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005594/0.5187, allocations: 1.738 MB / 0.722 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/0.5187, allocations: 16 kB / 0.722 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/0.5368, allocations: 7.989 MB / 0.7298 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5368, allocations: 0 / 0.7298 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/0.5506, allocations: 4.654 MB / 0.7344 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.5509, allocations: 119 kB / 0.7345 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.5511, allocations: 19.98 kB / 0.7345 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000842/0.5519, allocations: 87.97 kB / 0.7346 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005491/0.5525, allocations: 208.5 kB / 0.7348 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/0.5525, allocations: 23.98 kB / 0.7348 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006661/0.5532, allocations: 0.5264 MB / 0.7353 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5532, allocations: 0 / 0.7353 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001084/0.5543, allocations: 403.7 kB / 0.7357 GB, free: 1.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * 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.01391/0.5682, allocations: 5.235 MB / 0.7408 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006002/0.5742, allocations: 2.193 MB / 0.7429 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5742, allocations: 0 / 0.7429 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004252/0.5784, allocations: 1.441 MB / 0.7443 GB, free: 9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007716/0.5792, allocations: 79.3 kB / 0.7444 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03382/0.613, allocations: 13.94 MB / 0.758 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006804/0.6137, allocations: 1.025 MB / 0.759 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002842/0.614, allocations: 78.17 kB / 0.7591 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004942/0.6145, allocations: 379.3 kB / 0.7595 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.6145, allocations: 0 / 0.7595 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07011/0.6846, allocations: 31.72 MB / 0.7904 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.19, allocations: 11.06 kB / 0.7905 GB, free: 9.59 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_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_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.34251200200015] Failed to read output from testmodel.py, exit status != 0: 16.323432162000245 16.337696728 15.964895908 Calling exit ...