Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 102.4 kB / 16.29 MB, free: 6.113 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.625 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.001296/0.001296, allocations: 200.3 kB / 290.2 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4543/0.4543, allocations: 78.53 MB / 418.9 MB, free: 3.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 83.86 kB / 498.2 MB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1318, allocations: 68.18 MB / 0.5531 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.2245/0.3563, allocations: 5.743 MB / 0.5587 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.3592, allocations: 1.73 MB / 0.5604 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004675/0.3597, allocations: 11.88 kB / 0.5604 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.3602, allocations: 203.9 kB / 0.5606 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.3616, allocations: 0.679 MB / 0.5612 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.3626, allocations: 0.5577 MB / 0.5618 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.3636, allocations: 1.245 MB / 0.563 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.364, allocations: 269.3 kB / 0.5632 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.3645, allocations: 0.5179 MB / 0.5637 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005204/0.365, allocations: 0.6519 MB / 0.5644 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.3652, allocations: 87.31 kB / 0.5645 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003667/0.3655, allocations: 221 kB / 0.5647 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.3657, allocations: 247.5 kB / 0.5649 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003303/0.366, allocations: 0.5425 MB / 0.5654 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009937/0.367, allocations: 1.352 MB / 0.5668 GB, free: 34.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3671, allocations: 0 / 0.5668 GB, free: 34.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3671, allocations: 0 / 0.5668 GB, free: 34.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.3671, allocations: 0.5625 kB / 0.5668 GB, free: 34.73 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006849/0.3739, allocations: 2.353 MB / 0.5691 GB, free: 33.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.374, allocations: 8.594 kB / 0.5691 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.3787, allocations: 0.7621 MB / 0.5698 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000932/0.3797, allocations: 0.7146 MB / 0.5705 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.3799, allocations: 250 kB / 0.5708 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.38, allocations: 68.94 kB / 0.5708 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.3818, allocations: 0.9507 MB / 0.5717 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.3818, allocations: 4.469 kB / 0.5718 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/0.3819, allocations: 33.11 kB / 0.5718 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.3819, allocations: 13.75 kB / 0.5718 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.3838, allocations: 0.9752 MB / 0.5727 GB, free: 33.2 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.004581/0.3883, allocations: 3.16 MB / 0.5758 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.39, allocations: 1.303 MB / 0.5771 GB, free: 31.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.3912, allocations: 0.7063 MB / 0.5778 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.413e-05/0.3913, allocations: 9.25 kB / 0.5778 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.3913, allocations: 38.09 kB / 0.5778 GB, free: 31.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/0.3913, allocations: 5.719 kB / 0.5778 GB, free: 31.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.0254/0.4167, allocations: 6.77 MB / 0.5845 GB, free: 30.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.4168, allocations: 60.44 kB / 0.5845 GB, free: 30.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.418, allocations: 0.8028 MB / 0.5853 GB, free: 29.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002138/0.4182, allocations: 41.39 kB / 0.5853 GB, free: 29.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.4185, allocations: 428.3 kB / 0.5857 GB, free: 29.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.4188, allocations: 293.6 kB / 0.586 GB, free: 29.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003455/0.4191, allocations: 182.3 kB / 0.5862 GB, free: 29.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.4192, allocations: 349.3 kB / 0.5865 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.4206, allocations: 0.6516 MB / 0.5872 GB, free: 28.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.422, allocations: 0.7704 MB / 0.5879 GB, free: 28.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01755/0.4395, allocations: 4.492 MB / 0.5923 GB, free: 26.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.4396, allocations: 1.219 kB / 0.5923 GB, free: 26.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01304/0.4526, allocations: 4.121 MB / 0.5963 GB, free: 25.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4527, allocations: 6.641 kB / 0.5963 GB, free: 25.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.4527, allocations: 2.312 kB / 0.5963 GB, free: 25.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006135/0.4588, allocations: 1.787 MB / 0.5981 GB, free: 25.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/0.4597, allocations: 162.3 kB / 0.5982 GB, free: 25.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02048/0.4802, allocations: 9.329 MB / 0.6074 GB, free: 21.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.4816, allocations: 151.3 kB / 0.6075 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.4817, allocations: 38.09 kB / 0.6075 GB, free: 21.01 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004669/0.4822, allocations: 226.9 kB / 0.6078 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.4824, allocations: 104 kB / 0.6079 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.4942, allocations: 3.825 MB / 0.6116 GB, free: 18.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.4942, allocations: 11.38 kB / 0.6116 GB, free: 18.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4943, allocations: 2.938 kB / 0.6116 GB, free: 18.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.4943, allocations: 7.984 kB / 0.6116 GB, free: 18.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.5071, allocations: 5.353 MB / 0.6168 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.5072, allocations: 5.188 kB / 0.6168 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.5077, allocations: 93.47 kB / 0.6169 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005154/0.5129, allocations: 1.745 MB / 0.6186 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.513, allocations: 16 kB / 0.6186 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01557/0.5286, allocations: 8.05 MB / 0.6265 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5286, allocations: 3.938 kB / 0.6265 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/0.5418, allocations: 4.72 MB / 0.6311 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.5422, allocations: 183.7 kB / 0.6313 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.5424, allocations: 16 kB / 0.6313 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008878/0.5433, allocations: 91.89 kB / 0.6314 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005812/0.5438, allocations: 201.6 kB / 0.6316 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.517e-05/0.5439, allocations: 24 kB / 0.6316 GB, free: 14.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006614/0.5446, allocations: 0.5382 MB / 0.6321 GB, free: 13.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5446, allocations: 0 / 0.6321 GB, free: 13.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001268/0.5459, allocations: 403.6 kB / 0.6325 GB, free: 13.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.0002781/0.5462, allocations: 128 kB / 0.6326 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006347/0.5525, allocations: 2.326 MB / 0.6349 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5525, allocations: 4.062 kB / 0.6349 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004455/0.557, allocations: 1.505 MB / 0.6364 GB, free: 9.148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007344/0.5578, allocations: 80.38 kB / 0.6365 GB, free: 9.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.5608, allocations: 1.732 MB / 0.6382 GB, free: 7.344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.5614, allocations: 1.033 MB / 0.6392 GB, free: 6.281 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002949/0.5617, allocations: 80.02 kB / 0.6392 GB, free: 6.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.5619, allocations: 55.44 kB / 0.6393 GB, free: 6.152 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5619, allocations: 0 / 0.6393 GB, free: 6.152 MB / 446.1 MB Notification: Performance of Templates: time 0.03208/0.594, allocations: 22.4 MB / 0.6612 GB, free: 15.96 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)