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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 222.9 MB / 239.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.0009223, allocations: 114.6 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4198/0.4198, allocations: 78.51 MB / 418.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 497.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2669, allocations: 68.16 MB / 0.5524 GB, free: 19.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004379/0.2713, allocations: 6.032 MB / 0.5583 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.2738, allocations: 1.771 MB / 0.56 GB, free: 12.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.2743, allocations: 12 kB / 0.56 GB, free: 12.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.2746, allocations: 151 kB / 0.5602 GB, free: 11.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.2758, allocations: 0.6228 MB / 0.5608 GB, free: 11.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.2766, allocations: 0.5092 MB / 0.5613 GB, free: 10.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007526/0.2774, allocations: 1.186 MB / 0.5624 GB, free: 9.547 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.2777, allocations: 235.6 kB / 0.5627 GB, free: 9.305 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.278, allocations: 493.7 kB / 0.5631 GB, free: 8.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004095/0.2784, allocations: 0.6104 MB / 0.5637 GB, free: 8.207 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.853e-05/0.2785, allocations: 56 kB / 0.5638 GB, free: 8.152 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.2788, allocations: 191.8 kB / 0.564 GB, free: 7.965 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.279, allocations: 207 kB / 0.5642 GB, free: 7.762 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002657/0.2792, allocations: 0.5047 MB / 0.5647 GB, free: 7.254 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007253/0.28, allocations: 1.286 MB / 0.5659 GB, free: 5.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.28, allocations: 4 kB / 0.5659 GB, free: 5.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.28, allocations: 0 / 0.5659 GB, free: 5.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.28, allocations: 0 / 0.5659 GB, free: 5.961 MB / 378.7 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.006545/0.2866, allocations: 2.329 MB / 0.5682 GB, free: 3.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2866, allocations: 12.03 kB / 0.5682 GB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00432/0.2909, allocations: 0.7596 MB / 0.569 GB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009571/0.2919, allocations: 0.6971 MB / 0.5696 GB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.2922, allocations: 251.4 kB / 0.5699 GB, free: 1.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.2923, allocations: 71.91 kB / 0.5699 GB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.294, allocations: 0.9433 MB / 0.5709 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.294, allocations: 3.938 kB / 0.5709 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/0.2941, allocations: 28 kB / 0.5709 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2941, allocations: 16 kB / 0.5709 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.2959, allocations: 0.9694 MB / 0.5719 GB, free: 15.75 MB / 394.7 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.005287/0.3012, allocations: 3.163 MB / 0.5749 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.3032, allocations: 1.308 MB / 0.5762 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.3045, allocations: 0.6983 MB / 0.5769 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.677e-05/0.3046, allocations: 12.59 kB / 0.5769 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3047, allocations: 43.22 kB / 0.577 GB, free: 10.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 2.174e-06/0.3047, allocations: 0 / 0.577 GB, free: 10.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=81): time 0.02633/0.331, allocations: 6.704 MB / 0.5835 GB, free: 3.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.3311, allocations: 60.06 kB / 0.5836 GB, free: 3.426 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009992/0.3321, allocations: 0.7904 MB / 0.5843 GB, free: 2.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001477/0.3323, allocations: 45.7 kB / 0.5844 GB, free: 2.574 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.3326, allocations: 428.4 kB / 0.5848 GB, free: 2.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.3329, allocations: 287.8 kB / 0.5851 GB, free: 1.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003349/0.3333, allocations: 174.5 kB / 0.5852 GB, free: 1.688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3334, allocations: 341.9 kB / 0.5856 GB, free: 1.348 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.3348, allocations: 0.6425 MB / 0.5862 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.3362, allocations: 0.7628 MB / 0.5869 GB, free: 15.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01707/0.3533, allocations: 4.445 MB / 0.5913 GB, free: 11.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3534, allocations: 0 / 0.5913 GB, free: 11.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01316/0.3665, allocations: 4.043 MB / 0.5952 GB, free: 7.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.3666, allocations: 4 kB / 0.5952 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.3666, allocations: 4 kB / 0.5952 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006135/0.3728, allocations: 1.858 MB / 0.597 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/0.3736, allocations: 159.8 kB / 0.5972 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01955/0.3932, allocations: 8.38 MB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.3945, allocations: 151.1 kB / 0.6055 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.653e-05/0.3946, allocations: 35.98 kB / 0.6056 GB, free: 12.66 MB / 426.7 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.0004104/0.395, allocations: 234.6 kB / 0.6058 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.3952, allocations: 102.7 kB / 0.6059 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.4078, allocations: 3.813 MB / 0.6096 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.4079, allocations: 11.94 kB / 0.6096 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4079, allocations: 4 kB / 0.6096 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.4079, allocations: 3.984 kB / 0.6096 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.4226, allocations: 5.332 MB / 0.6148 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.4227, allocations: 0 / 0.6148 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.4232, allocations: 83.89 kB / 0.6149 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005937/0.4291, allocations: 1.737 MB / 0.6166 GB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.4293, allocations: 16 kB / 0.6166 GB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/0.4468, allocations: 7.362 MB / 0.6238 GB, free: 9.648 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.4469, allocations: 3.984 kB / 0.6238 GB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08421/0.5311, allocations: 30.94 MB / 0.654 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.5314, allocations: 187.7 kB / 0.6542 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.5315, allocations: 20.05 kB / 0.6542 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009427/0.5325, allocations: 83.91 kB / 0.6543 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006534/0.5331, allocations: 196.6 kB / 0.6545 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/0.5332, allocations: 20 kB / 0.6545 GB, free: 9.859 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006037/0.5338, allocations: 0.5342 MB / 0.655 GB, free: 9.332 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.462e-06/0.5338, allocations: 0 / 0.655 GB, free: 9.332 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001543/0.5354, allocations: 0.5425 MB / 0.6556 GB, free: 8.789 MB / 474.7 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.0002344/0.5356, allocations: 127.1 kB / 0.6557 GB, free: 8.652 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006388/0.542, allocations: 2.265 MB / 0.6579 GB, free: 6.367 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5421, allocations: 0 / 0.6579 GB, free: 6.367 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004552/0.5466, allocations: 1.455 MB / 0.6593 GB, free: 4.906 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.5474, allocations: 85.58 kB / 0.6594 GB, free: 4.824 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006955/0.5544, allocations: 3.253 MB / 0.6626 GB, free: 1.523 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.555, allocations: 1.075 MB / 0.6636 GB, free: 424 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003085/0.5553, allocations: 78.17 kB / 0.6637 GB, free: 344 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.5555, allocations: 55.42 kB / 0.6637 GB, free: 288 kB / 474.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5555, allocations: 0 / 0.6637 GB, free: 288 kB / 474.7 MB Notification: Performance of Templates: time 0.2537/0.8092, allocations: 29.11 MB / 0.6922 GB, free: 111.9 MB / 490.7 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)