Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001042/0.001042, 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.3/1.3, 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.001227/0.001226, allocations: 192.4 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4245/0.4245, allocations: 78.52 MB / 418.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 75.89 kB / 498.2 MB, free: 6.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1394, allocations: 68.18 MB / 0.5531 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.234/0.3735, allocations: 5.673 MB / 0.5586 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003477/0.377, allocations: 1.726 MB / 0.5603 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009966/0.378, allocations: 10.66 kB / 0.5603 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007624/0.3788, allocations: 199.2 kB / 0.5605 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.381, allocations: 0.6816 MB / 0.5611 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3823, allocations: 0.5523 MB / 0.5617 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.3841, allocations: 1.227 MB / 0.5629 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004995/0.3846, allocations: 268.5 kB / 0.5631 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008082/0.3854, allocations: 0.5153 MB / 0.5636 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008824/0.3863, allocations: 0.6313 MB / 0.5643 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000279/0.3866, allocations: 84.34 kB / 0.5643 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006633/0.3873, allocations: 223.2 kB / 0.5646 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.3876, allocations: 244.1 kB / 0.5648 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006182/0.3882, allocations: 0.5315 MB / 0.5653 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.3897, allocations: 1.349 MB / 0.5666 GB, free: 34.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3898, allocations: 0 / 0.5666 GB, free: 34.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3898, allocations: 0 / 0.5666 GB, free: 34.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.3898, allocations: 3.125 kB / 0.5666 GB, free: 34.79 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.00691/0.3967, allocations: 2.324 MB / 0.5689 GB, free: 33.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3968, allocations: 9.5 kB / 0.5689 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/0.4016, allocations: 0.7599 MB / 0.5696 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009037/0.4025, allocations: 0.7029 MB / 0.5703 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/0.4027, allocations: 249.2 kB / 0.5706 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.4028, allocations: 71.12 kB / 0.5706 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.4046, allocations: 0.9389 MB / 0.5716 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.4046, allocations: 4.969 kB / 0.5716 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.402e-05/0.4047, allocations: 28.81 kB / 0.5716 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.4047, allocations: 21.56 kB / 0.5716 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.4065, allocations: 0.9688 MB / 0.5726 GB, free: 33.27 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.004897/0.4114, allocations: 3.116 MB / 0.5756 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.4133, allocations: 1.315 MB / 0.5769 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.4145, allocations: 0.6965 MB / 0.5776 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.24e-05/0.4146, allocations: 17.55 kB / 0.5776 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.4146, allocations: 52.97 kB / 0.5776 GB, free: 31.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.394e-06/0.4146, allocations: 0 / 0.5776 GB, free: 31.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02346/0.4381, allocations: 6.689 MB / 0.5842 GB, free: 30.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.4381, allocations: 60.78 kB / 0.5842 GB, free: 30.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009782/0.4391, allocations: 0.7967 MB / 0.585 GB, free: 29.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.4392, allocations: 41.17 kB / 0.585 GB, free: 29.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.4395, allocations: 422.8 kB / 0.5854 GB, free: 29.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.4397, allocations: 292.7 kB / 0.5857 GB, free: 29.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.4401, allocations: 179 kB / 0.5859 GB, free: 29.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.4401, allocations: 343.6 kB / 0.5862 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.4414, allocations: 0.6416 MB / 0.5868 GB, free: 28.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.4428, allocations: 0.7614 MB / 0.5876 GB, free: 28.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01672/0.4595, allocations: 4.444 MB / 0.5919 GB, free: 27.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.557e-06/0.4596, allocations: 0 / 0.5919 GB, free: 27.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01257/0.4722, allocations: 4.04 MB / 0.5959 GB, free: 26.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.4722, allocations: 9.719 kB / 0.5959 GB, free: 26.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.4722, allocations: 3.031 kB / 0.5959 GB, free: 26.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006112/0.4784, allocations: 1.864 MB / 0.5977 GB, free: 25.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008405/0.4792, allocations: 165.8 kB / 0.5979 GB, free: 25.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02075/0.5, allocations: 9.082 MB / 0.6067 GB, free: 21.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.5014, allocations: 154.9 kB / 0.6069 GB, free: 21.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/0.5016, allocations: 38.69 kB / 0.6069 GB, free: 21.48 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.0005749/0.5022, allocations: 226.8 kB / 0.6071 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.5026, allocations: 98.22 kB / 0.6072 GB, free: 21.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/0.5139, allocations: 3.823 MB / 0.611 GB, free: 19.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.5139, allocations: 8.719 kB / 0.611 GB, free: 19.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5139, allocations: 0 / 0.611 GB, free: 19.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5139, allocations: 3.984 kB / 0.611 GB, free: 19.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.5264, allocations: 5.324 MB / 0.6162 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.5264, allocations: 0 / 0.6162 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.5268, allocations: 92.95 kB / 0.6163 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004974/0.5318, allocations: 1.743 MB / 0.618 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.14e-05/0.5319, allocations: 19.98 kB / 0.618 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/0.5478, allocations: 8.075 MB / 0.6259 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5478, allocations: 4 kB / 0.6259 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.5603, allocations: 4.677 MB / 0.6304 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.5608, allocations: 187.7 kB / 0.6306 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.5611, allocations: 19.94 kB / 0.6306 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5621, allocations: 87.95 kB / 0.6307 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006395/0.5627, allocations: 196.7 kB / 0.6309 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.5629, allocations: 24.94 kB / 0.6309 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000778/0.5636, allocations: 0.5264 MB / 0.6314 GB, free: 14.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5637, allocations: 0 / 0.6314 GB, free: 14.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001483/0.5651, allocations: 407.5 kB / 0.6318 GB, free: 13.91 MB / 446.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.0002742/0.5654, allocations: 119.2 kB / 0.6319 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006396/0.5718, allocations: 2.322 MB / 0.6342 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5719, allocations: 0 / 0.6342 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004489/0.5764, allocations: 1.496 MB / 0.6357 GB, free: 9.945 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009064/0.5773, allocations: 83.88 kB / 0.6358 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.5806, allocations: 1.651 MB / 0.6374 GB, free: 8.211 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.5813, allocations: 1.025 MB / 0.6384 GB, free: 7.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003179/0.5816, allocations: 75.97 kB / 0.6384 GB, free: 7.086 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.5818, allocations: 59.42 kB / 0.6385 GB, free: 7.031 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5818, allocations: 0 / 0.6385 GB, free: 7.031 MB / 446.1 MB Notification: Performance of Templates: time 0.03601/0.6178, allocations: 22.09 MB / 0.6601 GB, free: 1.133 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)