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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001513, allocations: 192.4 kB / 290.2 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5449/0.5449, allocations: 91.89 MB / 432.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 79.88 kB / 0.5025 GB, free: 7.773 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3625, allocations: 71.26 MB / 0.5721 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005126/0.3677, allocations: 5.702 MB / 0.5777 GB, free: 33.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003294/0.371, allocations: 1.736 MB / 0.5794 GB, free: 32.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005693/0.3716, allocations: 8.688 kB / 0.5794 GB, free: 32.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.3721, allocations: 206.2 kB / 0.5796 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.3736, allocations: 0.6743 MB / 0.5803 GB, free: 31.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3747, allocations: 0.551 MB / 0.5808 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.3758, allocations: 1.233 MB / 0.582 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.3762, allocations: 270.4 kB / 0.5823 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.3768, allocations: 0.5135 MB / 0.5828 GB, free: 30.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.3774, allocations: 0.6381 MB / 0.5834 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.3776, allocations: 86.38 kB / 0.5835 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.3781, allocations: 220.4 kB / 0.5837 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.3782, allocations: 243.1 kB / 0.5839 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.3786, allocations: 0.5424 MB / 0.5844 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.3797, allocations: 1.319 MB / 0.5857 GB, free: 29.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3797, allocations: 3.406 kB / 0.5857 GB, free: 29.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3797, allocations: 0 / 0.5857 GB, free: 29.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3797, allocations: 3.938 kB / 0.5857 GB, free: 29.04 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.007622/0.3873, allocations: 2.329 MB / 0.588 GB, free: 27.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3874, allocations: 9.25 kB / 0.588 GB, free: 27.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/0.3925, allocations: 0.7581 MB / 0.5887 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.3937, allocations: 0.7009 MB / 0.5894 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002665/0.3939, allocations: 252.9 kB / 0.5897 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.3941, allocations: 62.75 kB / 0.5897 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.3962, allocations: 0.944 MB / 0.5907 GB, free: 26.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.3962, allocations: 5.031 kB / 0.5907 GB, free: 26.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.722e-05/0.3963, allocations: 29.25 kB / 0.5907 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.3963, allocations: 19.27 kB / 0.5907 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.3985, allocations: 0.9683 MB / 0.5917 GB, free: 26.4 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.005254/0.4037, allocations: 3.143 MB / 0.5947 GB, free: 24.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.4058, allocations: 1.315 MB / 0.596 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.4072, allocations: 0.6979 MB / 0.5967 GB, free: 23.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.325e-05/0.4073, allocations: 15.55 kB / 0.5967 GB, free: 23.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.4074, allocations: 42.59 kB / 0.5967 GB, free: 23.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.006e-06/0.4074, allocations: 0 / 0.5967 GB, free: 23.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02874/0.4361, allocations: 6.694 MB / 0.6033 GB, free: 22.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.4362, allocations: 64.31 kB / 0.6033 GB, free: 22.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.4374, allocations: 0.7874 MB / 0.6041 GB, free: 21.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.4376, allocations: 40.89 kB / 0.6041 GB, free: 21.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.4379, allocations: 424.5 kB / 0.6046 GB, free: 21.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.4382, allocations: 301.2 kB / 0.6048 GB, free: 21.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.4385, allocations: 175.2 kB / 0.605 GB, free: 21.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.4386, allocations: 342.3 kB / 0.6053 GB, free: 20.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.44, allocations: 0.6459 MB / 0.606 GB, free: 20.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.4416, allocations: 0.7618 MB / 0.6067 GB, free: 20.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01838/0.46, allocations: 4.461 MB / 0.6111 GB, free: 18.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.46, allocations: 1.188 kB / 0.6111 GB, free: 18.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01405/0.4741, allocations: 4.045 MB / 0.615 GB, free: 17.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.4741, allocations: 5.469 kB / 0.615 GB, free: 17.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.4742, allocations: 2.031 kB / 0.615 GB, free: 17.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0063/0.4805, allocations: 1.861 MB / 0.6168 GB, free: 16.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/0.4813, allocations: 171.7 kB / 0.617 GB, free: 16.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/0.5005, allocations: 9.101 MB / 0.6259 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.5021, allocations: 159 kB / 0.626 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/0.5022, allocations: 35.98 kB / 0.6261 GB, free: 6.836 MB / 430.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.000425/0.5026, allocations: 225 kB / 0.6263 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.5028, allocations: 98.78 kB / 0.6264 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.5147, allocations: 3.825 MB / 0.6301 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.5148, allocations: 8 kB / 0.6301 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5148, allocations: 0 / 0.6301 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.86e-05/0.5148, allocations: 3.984 kB / 0.6301 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.5294, allocations: 5.324 MB / 0.6353 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.5295, allocations: 0 / 0.6353 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.53, allocations: 87.89 kB / 0.6354 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006482/0.5365, allocations: 1.749 MB / 0.6371 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.5368, allocations: 19.98 kB / 0.6371 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/0.5572, allocations: 8.088 MB / 0.645 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.5572, allocations: 0 / 0.645 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/0.5731, allocations: 4.684 MB / 0.6496 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005951/0.5738, allocations: 183.7 kB / 0.6498 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003724/0.5742, allocations: 23.94 kB / 0.6498 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.5754, allocations: 83.89 kB / 0.6499 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008434/0.5763, allocations: 204.8 kB / 0.6501 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.5764, allocations: 20 kB / 0.6501 GB, free: 13.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009377/0.5774, allocations: 0.5302 MB / 0.6506 GB, free: 13.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5774, allocations: 0 / 0.6506 GB, free: 13.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001897/0.5793, allocations: 403.5 kB / 0.651 GB, free: 12.94 MB / 462.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.0003545/0.5797, allocations: 119.2 kB / 0.6511 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007154/0.5868, allocations: 2.333 MB / 0.6534 GB, free: 10.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5869, allocations: 0.5625 kB / 0.6534 GB, free: 10.47 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004781/0.5916, allocations: 1.495 MB / 0.6549 GB, free: 8.961 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000977/0.5927, allocations: 85.48 kB / 0.6549 GB, free: 8.883 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.5963, allocations: 1.716 MB / 0.6566 GB, free: 7.137 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/0.5969, allocations: 1.021 MB / 0.6576 GB, free: 6.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.5971, allocations: 63.42 kB / 0.6577 GB, free: 6.027 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5971, allocations: 0 / 0.6577 GB, free: 6.027 MB / 462.1 MB Notification: Performance of Templates: time 0.02359/0.6207, allocations: 17.57 MB / 0.6748 GB, free: 4.438 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (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)