Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.001852/0.001852, allocations: 84.28 kB / 19.18 MB, free: 2.527 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.414/1.414, allocations: 177.1 MB / 199.4 MB, free: 8.457 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.001656/0.001656, allocations: 160.8 kB / 256 MB, free: 4.316 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.5911/0.5911, allocations: 80.35 MB / 392.7 MB, free: 29.65 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 0.5555 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.619e-05/3.869e-05, allocations: 2.281 kB / 0.5555 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.008493/0.008532, allocations: 5.06 MB / 0.5604 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005484/0.01402, allocations: 1.692 MB / 0.5621 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.01567, allocations: 9.156 kB / 0.5621 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009543/0.01663, allocations: 201.3 kB / 0.5623 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.01988, allocations: 0.7381 MB / 0.563 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.02174, allocations: 0.5529 MB / 0.5635 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002326/0.02407, allocations: 1.279 MB / 0.5648 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004873/0.02456, allocations: 180.1 kB / 0.5649 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.02586, allocations: 0.7317 MB / 0.5656 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008329/0.02669, allocations: 0.4952 MB / 0.5661 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.02688, allocations: 89.41 kB / 0.5662 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007532/0.02764, allocations: 235 kB / 0.5664 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.02785, allocations: 246.1 kB / 0.5667 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005193/0.02837, allocations: 363.7 kB / 0.567 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.03039, allocations: 1.386 MB / 0.5684 GB, free: 5.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.0304, allocations: 1.156 kB / 0.5684 GB, free: 5.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.0304, allocations: 0 / 0.5684 GB, free: 5.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.76e-05/0.03043, allocations: 0 / 0.5684 GB, free: 5.531 MB / 430.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.0115/0.04193, allocations: 2.291 MB / 0.5706 GB, free: 4.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.04198, allocations: 8.656 kB / 0.5706 GB, free: 4.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00898/0.05096, allocations: 0.7689 MB / 0.5714 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/0.0529, allocations: 0.6431 MB / 0.572 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003751/0.05327, allocations: 301.3 kB / 0.5723 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.05349, allocations: 64 kB / 0.5723 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.05666, allocations: 0.9475 MB / 0.5733 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.05669, allocations: 0 / 0.5733 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.05684, allocations: 30.03 kB / 0.5733 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.05686, allocations: 19.09 kB / 0.5733 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/0.06031, allocations: 0.9635 MB / 0.5743 GB, free: 1.957 MB / 430.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.007081/0.06739, allocations: 2.247 MB / 0.5765 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.07014, allocations: 0.7729 MB / 0.5772 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.07243, allocations: 0.6279 MB / 0.5778 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.07255, allocations: 8.656 kB / 0.5778 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.609e-05/0.07262, allocations: 43.22 kB / 0.5779 GB, free: 15.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 4.028e-06/0.07262, allocations: 3.938 kB / 0.5779 GB, free: 15.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.03667/0.1093, allocations: 6.588 MB / 0.5843 GB, free: 8.465 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.1094, allocations: 64 kB / 0.5844 GB, free: 8.387 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.1107, allocations: 0.7749 MB / 0.5851 GB, free: 7.598 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002487/0.1109, allocations: 45.64 kB / 0.5852 GB, free: 7.547 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.1114, allocations: 437 kB / 0.5856 GB, free: 7.113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000451/0.1118, allocations: 301.4 kB / 0.5859 GB, free: 6.816 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004162/0.1122, allocations: 174.6 kB / 0.586 GB, free: 6.641 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.1124, allocations: 345.9 kB / 0.5864 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.1141, allocations: 0.6344 MB / 0.587 GB, free: 5.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.1159, allocations: 0.7492 MB / 0.5877 GB, free: 4.883 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02098/0.1369, allocations: 4.543 MB / 0.5922 GB, free: 316 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.1369, allocations: 0 / 0.5922 GB, free: 316 kB / 446.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01565/0.1525, allocations: 4.013 MB / 0.5961 GB, free: 12.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.1526, allocations: 8 kB / 0.5961 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.1526, allocations: 0 / 0.5961 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007287/0.1599, allocations: 1.87 MB / 0.5979 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009108/0.1608, allocations: 159.7 kB / 0.5981 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0252/0.186, allocations: 8.774 MB / 0.6066 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.1877, allocations: 147.3 kB / 0.6068 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.1879, allocations: 35.98 kB / 0.6068 GB, free: 1.18 MB / 462.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 (88): * Single equations (assignments): 87 * 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.0006574/0.1885, allocations: 226 kB / 0.607 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.1888, allocations: 103.3 kB / 0.6071 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.2038, allocations: 3.786 MB / 0.6108 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.2038, allocations: 8 kB / 0.6108 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2038, allocations: 0 / 0.6108 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.533e-05/0.2038, allocations: 7.922 kB / 0.6108 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01695/0.2208, allocations: 4.619 MB / 0.6153 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.2208, allocations: 0 / 0.6153 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000601/0.2214, allocations: 91.83 kB / 0.6154 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007059/0.2285, allocations: 1.738 MB / 0.6171 GB, free: 6.531 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/0.2286, allocations: 15.98 kB / 0.6171 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02213/0.2508, allocations: 7.76 MB / 0.6247 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2508, allocations: 3.938 kB / 0.6247 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/0.2681, allocations: 4.654 MB / 0.6293 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/0.2685, allocations: 115.2 kB / 0.6294 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.2687, allocations: 12 kB / 0.6294 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.2697, allocations: 95.89 kB / 0.6295 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007203/0.2705, allocations: 208.6 kB / 0.6297 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/0.2705, allocations: 19.98 kB / 0.6297 GB, free: 9.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007473/0.2713, allocations: 0.5186 MB / 0.6302 GB, free: 9.008 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2713, allocations: 3.938 kB / 0.6302 GB, free: 9.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001264/0.2726, allocations: 407.7 kB / 0.6306 GB, free: 8.605 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.0003067/0.2729, allocations: 127.1 kB / 0.6307 GB, free: 8.473 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007333/0.2802, allocations: 2.181 MB / 0.6329 GB, free: 6.273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2802, allocations: 0 / 0.6329 GB, free: 6.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005203/0.2854, allocations: 1.433 MB / 0.6343 GB, free: 4.836 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.2864, allocations: 84.72 kB / 0.6343 GB, free: 4.754 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.29, allocations: 1.648 MB / 0.6359 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.2905, allocations: 437.8 kB / 0.6364 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.2908, allocations: 78.02 kB / 0.6364 GB, free: 2.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.291, allocations: 60.48 kB / 0.6365 GB, free: 2.48 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.291, allocations: 4 kB / 0.6365 GB, free: 2.477 MB / 494.1 MB Notification: Performance of Templates: time 0.04016/0.3312, allocations: 23.25 MB / 0.6592 GB, free: 11.24 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.391543880105019] Failed to read output from testmodel.py, exit status != 0: 0.34177204221487045 0.35675544600000003 0.323031972 Calling exit ...