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.1158/0.1158, allocations: 12.36 MB / 28.71 MB, free: 0.6055 MB / 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.001844/0.001844, allocations: 107.2 kB / 34.42 MB, free: 1.688 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.399/1.399, allocations: 207.6 MB / 247.6 MB, free: 11.42 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.001588/0.001588, allocations: 216 kB / 302.5 MB, free: 6.184 MB / 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.4226/0.4226, allocations: 79.72 MB / 436.9 MB, free: 4.578 MB / 302.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.005532/0.005532, allocations: 149 kB / 0.5819 GB, free: 8.141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1651, allocations: 71.93 MB / 0.6521 GB, free: 128 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.007444/0.1725, allocations: 5.763 MB / 0.6578 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003997/0.1765, allocations: 1.693 MB / 0.6594 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008037/0.1773, allocations: 15.94 kB / 0.6594 GB, free: 8.609 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.1779, allocations: 206.2 kB / 0.6596 GB, free: 8.406 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.1797, allocations: 0.7403 MB / 0.6604 GB, free: 7.664 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1811, allocations: 0.5569 MB / 0.6609 GB, free: 7.113 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.1826, allocations: 1.233 MB / 0.6621 GB, free: 5.875 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.183, allocations: 187.1 kB / 0.6623 GB, free: 5.676 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007398/0.1837, allocations: 0.529 MB / 0.6628 GB, free: 5.145 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008032/0.1845, allocations: 0.6416 MB / 0.6634 GB, free: 4.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.1847, allocations: 84 kB / 0.6635 GB, free: 4.418 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.1851, allocations: 223.9 kB / 0.6637 GB, free: 4.199 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.1854, allocations: 234.9 kB / 0.6639 GB, free: 3.969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005023/0.1859, allocations: 0.5437 MB / 0.6645 GB, free: 3.422 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.1875, allocations: 1.338 MB / 0.6658 GB, free: 2.078 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1875, allocations: 0 / 0.6658 GB, free: 2.078 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1875, allocations: 4 kB / 0.6658 GB, free: 2.074 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.1875, allocations: 0 / 0.6658 GB, free: 2.074 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.0081/0.1956, allocations: 2.363 MB / 0.6681 GB, free: 15.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.1957, allocations: 11.98 kB / 0.6681 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.1958, allocations: 118.5 kB / 0.6682 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005139/0.201, allocations: 0.7641 MB / 0.669 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.2024, allocations: 0.7173 MB / 0.6697 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003471/0.2027, allocations: 251.4 kB / 0.6699 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.2029, allocations: 68 kB / 0.67 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.205, allocations: 0.9394 MB / 0.6709 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.2051, allocations: 0 / 0.6709 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.2052, allocations: 28 kB / 0.6709 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.2052, allocations: 20 kB / 0.6709 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.2075, allocations: 0.9694 MB / 0.6719 GB, free: 11.68 MB / 478.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.006296/0.2138, allocations: 3.132 MB / 0.6749 GB, free: 8.395 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.216, allocations: 1.23 MB / 0.6761 GB, free: 7.047 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.2174, allocations: 0.6241 MB / 0.6767 GB, free: 6.422 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.2175, allocations: 12.59 kB / 0.6768 GB, free: 6.406 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.2176, allocations: 39.22 kB / 0.6768 GB, free: 6.359 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 3.036e-06/0.2176, allocations: 0 / 0.6768 GB, free: 6.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.0281/0.2457, allocations: 6.674 MB / 0.6833 GB, free: 15.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.2457, allocations: 68 kB / 0.6834 GB, free: 15.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.2469, allocations: 0.7867 MB / 0.6841 GB, free: 14.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.2471, allocations: 41.7 kB / 0.6842 GB, free: 14.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.2474, allocations: 429 kB / 0.6846 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/0.2478, allocations: 305.4 kB / 0.6849 GB, free: 14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/0.2482, allocations: 178.6 kB / 0.6851 GB, free: 13.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2483, allocations: 341.9 kB / 0.6854 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.2499, allocations: 0.6464 MB / 0.686 GB, free: 12.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.2515, allocations: 0.7588 MB / 0.6868 GB, free: 12.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01849/0.27, allocations: 4.453 MB / 0.6911 GB, free: 7.555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.27, allocations: 0 / 0.6911 GB, free: 7.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01421/0.2842, allocations: 4.013 MB / 0.695 GB, free: 3.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.2842, allocations: 4 kB / 0.695 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.2843, allocations: 8 kB / 0.695 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006774/0.291, allocations: 1.862 MB / 0.6969 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.2919, allocations: 159.8 kB / 0.697 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2825/0.5745, allocations: 9.086 MB / 0.7059 GB, free: 38.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.5758, allocations: 153.8 kB / 0.706 GB, free: 38.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.5759, allocations: 35.3 kB / 0.7061 GB, free: 38.93 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.0004142/0.5764, allocations: 223.8 kB / 0.7063 GB, free: 38.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.5766, allocations: 107.3 kB / 0.7064 GB, free: 38.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/0.5909, allocations: 3.787 MB / 0.7101 GB, free: 37.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/0.5909, allocations: 9.781 kB / 0.7101 GB, free: 37.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5909, allocations: 9.234 kB / 0.7101 GB, free: 37.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.5909, allocations: 4.422 kB / 0.7101 GB, free: 37.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.6061, allocations: 5.297 MB / 0.7153 GB, free: 36.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.6062, allocations: 0 / 0.7153 GB, free: 36.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/0.6067, allocations: 82.19 kB / 0.7153 GB, free: 36.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00595/0.6126, allocations: 1.744 MB / 0.717 GB, free: 35.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.6128, allocations: 15.56 kB / 0.7171 GB, free: 35.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/0.6308, allocations: 8.096 MB / 0.725 GB, free: 31.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.6308, allocations: 1.125 kB / 0.725 GB, free: 31.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/0.6447, allocations: 4.658 MB / 0.7295 GB, free: 29.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.6451, allocations: 192.5 kB / 0.7297 GB, free: 29.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.6452, allocations: 15.94 kB / 0.7297 GB, free: 29.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008874/0.6461, allocations: 91.14 kB / 0.7298 GB, free: 29.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005948/0.6467, allocations: 203.5 kB / 0.73 GB, free: 29.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.6468, allocations: 26.09 kB / 0.73 GB, free: 29.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005646/0.6473, allocations: 0.5278 MB / 0.7305 GB, free: 29.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6473, allocations: 0 / 0.7305 GB, free: 29.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001229/0.6486, allocations: 401 kB / 0.7309 GB, free: 29.01 MB / 494.1 MB 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.0136/0.6622, allocations: 5.233 MB / 0.736 GB, free: 25.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006041/0.6682, allocations: 2.192 MB / 0.7382 GB, free: 23.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6682, allocations: 0 / 0.7382 GB, free: 23.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004297/0.6725, allocations: 1.452 MB / 0.7396 GB, free: 22.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007765/0.6733, allocations: 79.92 kB / 0.7397 GB, free: 21.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03226/0.7056, allocations: 13.93 MB / 0.7533 GB, free: 7.906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.7059, allocations: 1.025 MB / 0.7543 GB, free: 6.852 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003375/0.7063, allocations: 78.17 kB / 0.7543 GB, free: 6.773 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/0.7067, allocations: 379.3 kB / 0.7547 GB, free: 6.402 MB / 494.1 MB Notification: Performance of SimCode: time 1.563e-06/0.7067, allocations: 0 / 0.7547 GB, free: 6.402 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/0.8096, allocations: 30.88 MB / 0.7849 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/16.14, allocations: 0 / 0.7849 GB, free: 7.57 MB / 0.5137 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.585897074997774] Failed to read output from testmodel.py, exit status != 0: 16.24448678299086 16.26640806 16.07476894 Calling exit ...