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.001053/0.001053, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.237/1.237, allocations: 222.9 MB / 238.8 MB, free: 4.738 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.001127/0.001127, allocations: 188.5 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4166/0.4166, allocations: 78.52 MB / 417.8 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 72.22 kB / 496.8 MB, free: 6.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1234, allocations: 68.18 MB / 0.5517 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.2342/0.3576, allocations: 6.078 MB / 0.5576 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.3608, allocations: 1.787 MB / 0.5594 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005318/0.3614, allocations: 18.19 kB / 0.5594 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.3618, allocations: 157.1 kB / 0.5595 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.3631, allocations: 0.6055 MB / 0.5601 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009998/0.3641, allocations: 0.5258 MB / 0.5606 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009537/0.3651, allocations: 1.187 MB / 0.5618 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.3654, allocations: 234.8 kB / 0.562 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000503/0.3659, allocations: 496.7 kB / 0.5625 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/0.3664, allocations: 0.6183 MB / 0.5631 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.3665, allocations: 58.25 kB / 0.5632 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.3669, allocations: 191.3 kB / 0.5633 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.3671, allocations: 212.3 kB / 0.5635 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.3674, allocations: 0.513 MB / 0.564 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009172/0.3683, allocations: 1.303 MB / 0.5653 GB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3684, allocations: 3.875 kB / 0.5653 GB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.3684, allocations: 2.781 kB / 0.5653 GB, free: 35.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3684, allocations: 1.406 kB / 0.5653 GB, free: 35.32 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.00699/0.3754, allocations: 2.346 MB / 0.5676 GB, free: 34.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3754, allocations: 9 kB / 0.5676 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00467/0.3801, allocations: 0.7551 MB / 0.5684 GB, free: 34.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/0.381, allocations: 0.7139 MB / 0.5691 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.3813, allocations: 250.9 kB / 0.5693 GB, free: 33.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.3814, allocations: 69 kB / 0.5694 GB, free: 33.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.3832, allocations: 0.9535 MB / 0.5703 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.3832, allocations: 7.781 kB / 0.5703 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.3833, allocations: 25 kB / 0.5703 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.3833, allocations: 16.78 kB / 0.5703 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.3852, allocations: 0.9798 MB / 0.5713 GB, free: 33.8 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.004722/0.3899, allocations: 3.168 MB / 0.5744 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.3916, allocations: 1.31 MB / 0.5757 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.3928, allocations: 0.7072 MB / 0.5764 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.3929, allocations: 13.14 kB / 0.5764 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3929, allocations: 41.72 kB / 0.5764 GB, free: 31.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.3929, allocations: 6.938 kB / 0.5764 GB, free: 31.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02518/0.4181, allocations: 6.755 MB / 0.583 GB, free: 30.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.4182, allocations: 63.59 kB / 0.5831 GB, free: 30.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.4192, allocations: 0.8018 MB / 0.5839 GB, free: 30.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.4194, allocations: 41.3 kB / 0.5839 GB, free: 30.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.4196, allocations: 433.9 kB / 0.5843 GB, free: 29.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.4199, allocations: 291.5 kB / 0.5846 GB, free: 29.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/0.4203, allocations: 180.7 kB / 0.5848 GB, free: 29.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.4203, allocations: 348.4 kB / 0.5851 GB, free: 29.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.4218, allocations: 0.6515 MB / 0.5857 GB, free: 29.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.4232, allocations: 0.7718 MB / 0.5865 GB, free: 28.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01873/0.442, allocations: 4.5 MB / 0.5909 GB, free: 27.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.442, allocations: 0 / 0.5909 GB, free: 27.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01391/0.4559, allocations: 4.118 MB / 0.5949 GB, free: 26.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.456, allocations: 8.5 kB / 0.5949 GB, free: 26.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.4561, allocations: 3.562 kB / 0.5949 GB, free: 26.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006901/0.463, allocations: 1.787 MB / 0.5967 GB, free: 26.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009718/0.464, allocations: 167.6 kB / 0.5968 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02159/0.4856, allocations: 8.588 MB / 0.6052 GB, free: 22.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.487, allocations: 157.8 kB / 0.6054 GB, free: 22.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.4873, allocations: 36.89 kB / 0.6054 GB, free: 22.02 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.0005458/0.4878, allocations: 226.5 kB / 0.6056 GB, free: 21.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.4881, allocations: 99.41 kB / 0.6057 GB, free: 21.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.5002, allocations: 3.826 MB / 0.6094 GB, free: 19.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.5002, allocations: 12.38 kB / 0.6095 GB, free: 19.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5003, allocations: 4 kB / 0.6095 GB, free: 19.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.5003, allocations: 7.922 kB / 0.6095 GB, free: 19.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.5143, allocations: 5.351 MB / 0.6147 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.5144, allocations: 0 / 0.6147 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.5149, allocations: 87.89 kB / 0.6148 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005333/0.5203, allocations: 1.746 MB / 0.6165 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.5205, allocations: 16 kB / 0.6165 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01558/0.5361, allocations: 7.349 MB / 0.6237 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.5362, allocations: 9.641 kB / 0.6237 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/0.5492, allocations: 4.708 MB / 0.6283 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.5497, allocations: 183.7 kB / 0.6285 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.55, allocations: 16 kB / 0.6285 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.551, allocations: 91.89 kB / 0.6286 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006323/0.5517, allocations: 204.5 kB / 0.6288 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.493e-05/0.5518, allocations: 16 kB / 0.6288 GB, free: 104 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008221/0.5526, allocations: 0.5421 MB / 0.6293 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5526, allocations: 0 / 0.6293 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00165/0.5543, allocations: 407.6 kB / 0.6297 GB, free: 15.15 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.0003131/0.5546, allocations: 133 kB / 0.6298 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00659/0.5612, allocations: 2.281 MB / 0.632 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5612, allocations: 0 / 0.632 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004403/0.5657, allocations: 1.465 MB / 0.6335 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.5667, allocations: 75.91 kB / 0.6335 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.5703, allocations: 2.108 MB / 0.6356 GB, free: 9.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.571, allocations: 1.033 MB / 0.6366 GB, free: 8.004 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003392/0.5714, allocations: 76.58 kB / 0.6367 GB, free: 7.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.5716, allocations: 60.64 kB / 0.6367 GB, free: 7.871 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5716, allocations: 0 / 0.6367 GB, free: 7.871 MB / 446.1 MB Notification: Performance of Templates: time 0.03179/0.6034, allocations: 20.1 MB / 0.6564 GB, free: 3.941 MB / 462.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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)