Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1076/0.1076, allocations: 12.61 MB / 28.86 MB, free: 244 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 115.4 kB / 32.45 MB, free: 3.398 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 241 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 191.3 kB / 291.3 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4531/0.4531, allocations: 78.52 MB / 419.9 MB, free: 11.28 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00259/0.00259, allocations: 135.8 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3145, allocations: 68.11 MB / 0.556 GB, free: 33.06 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00622/0.3208, allocations: 5.729 MB / 0.5616 GB, free: 28.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00342/0.3242, allocations: 1.701 MB / 0.5632 GB, free: 27.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007858/0.325, allocations: 8.969 kB / 0.5633 GB, free: 27.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.3256, allocations: 203.7 kB / 0.5634 GB, free: 27.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.3273, allocations: 0.6833 MB / 0.5641 GB, free: 26.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3285, allocations: 0.5514 MB / 0.5647 GB, free: 26.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.3298, allocations: 1.227 MB / 0.5659 GB, free: 25.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.3302, allocations: 284.9 kB / 0.5661 GB, free: 25.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006324/0.3309, allocations: 0.5061 MB / 0.5666 GB, free: 25.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.3315, allocations: 0.6403 MB / 0.5672 GB, free: 24.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.3316, allocations: 85.62 kB / 0.5673 GB, free: 24.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004654/0.3321, allocations: 223.2 kB / 0.5675 GB, free: 24.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.3323, allocations: 243.4 kB / 0.5678 GB, free: 24.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.3327, allocations: 0.532 MB / 0.5683 GB, free: 23.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.3338, allocations: 1.337 MB / 0.5696 GB, free: 22.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3338, allocations: 1.125 kB / 0.5696 GB, free: 22.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3339, allocations: 0 / 0.5696 GB, free: 22.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.3339, allocations: 0 / 0.5696 GB, free: 22.97 MB / 398.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.007151/0.341, allocations: 2.336 MB / 0.5719 GB, free: 21.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3411, allocations: 17.14 kB / 0.5719 GB, free: 21.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/0.346, allocations: 0.7568 MB / 0.5726 GB, free: 21.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.3473, allocations: 0.7041 MB / 0.5733 GB, free: 20.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.3475, allocations: 246.4 kB / 0.5736 GB, free: 20.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3477, allocations: 68.25 kB / 0.5736 GB, free: 20.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.3495, allocations: 0.939 MB / 0.5745 GB, free: 19.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3495, allocations: 3.938 kB / 0.5745 GB, free: 19.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.3496, allocations: 29.17 kB / 0.5746 GB, free: 19.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.3496, allocations: 15.84 kB / 0.5746 GB, free: 19.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.3515, allocations: 0.9767 MB / 0.5755 GB, free: 19.21 MB / 398.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.004349/0.3558, allocations: 3.131 MB / 0.5786 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.3575, allocations: 1.312 MB / 0.5799 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.3586, allocations: 0.6982 MB / 0.5806 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.3587, allocations: 8.656 kB / 0.5806 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.3587, allocations: 47.22 kB / 0.5806 GB, free: 13.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.815e-06/0.3588, allocations: 0 / 0.5806 GB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.02285/0.3816, allocations: 6.696 MB / 0.5872 GB, free: 6.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.3817, allocations: 60.06 kB / 0.5872 GB, free: 6.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008437/0.3825, allocations: 0.7905 MB / 0.588 GB, free: 6.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.3827, allocations: 37.7 kB / 0.588 GB, free: 6.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3829, allocations: 428.4 kB / 0.5884 GB, free: 5.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.3831, allocations: 291.8 kB / 0.5887 GB, free: 5.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.3834, allocations: 174.5 kB / 0.5889 GB, free: 5.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.3835, allocations: 345.9 kB / 0.5892 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.3847, allocations: 0.6425 MB / 0.5898 GB, free: 4.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.3859, allocations: 0.7627 MB / 0.5906 GB, free: 3.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01544/0.4013, allocations: 4.449 MB / 0.5949 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.4014, allocations: 0 / 0.5949 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01244/0.4138, allocations: 4.043 MB / 0.5989 GB, free: 10.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4139, allocations: 10.66 kB / 0.5989 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.4139, allocations: 0 / 0.5989 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005968/0.4199, allocations: 1.866 MB / 0.6007 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008473/0.4208, allocations: 163.7 kB / 0.6009 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.4409, allocations: 9.077 MB / 0.6097 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.4423, allocations: 159 kB / 0.6099 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.717e-05/0.4424, allocations: 35.98 kB / 0.6099 GB, free: 15.41 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.0004227/0.4428, allocations: 222.2 kB / 0.6101 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.443, allocations: 102.8 kB / 0.6102 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/0.4548, allocations: 3.825 MB / 0.614 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/0.4549, allocations: 8 kB / 0.614 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4549, allocations: 0 / 0.614 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.4549, allocations: 3.984 kB / 0.614 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.4688, allocations: 5.321 MB / 0.6192 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.4689, allocations: 0 / 0.6192 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.4694, allocations: 91.83 kB / 0.6192 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007605/0.477, allocations: 1.753 MB / 0.621 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002379/0.4773, allocations: 16 kB / 0.621 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02788/0.5052, allocations: 8.068 MB / 0.6289 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5052, allocations: 3.938 kB / 0.6289 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02034/0.5256, allocations: 4.685 MB / 0.6334 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006167/0.5263, allocations: 183.6 kB / 0.6336 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.5265, allocations: 24 kB / 0.6336 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.5277, allocations: 87.89 kB / 0.6337 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009366/0.5287, allocations: 208.5 kB / 0.6339 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.5288, allocations: 24 kB / 0.6339 GB, free: 6.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009906/0.5298, allocations: 0.5302 MB / 0.6345 GB, free: 5.906 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5298, allocations: 4 kB / 0.6345 GB, free: 5.902 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001753/0.5316, allocations: 399.6 kB / 0.6348 GB, free: 5.512 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.0003432/0.532, allocations: 123.1 kB / 0.635 GB, free: 5.387 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008876/0.5408, allocations: 2.303 MB / 0.6372 GB, free: 3.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5409, allocations: 0 / 0.6372 GB, free: 3.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006566/0.5475, allocations: 1.5 MB / 0.6387 GB, free: 1.559 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.5487, allocations: 75.31 kB / 0.6387 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.553, allocations: 1.648 MB / 0.6404 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/0.5538, allocations: 1.029 MB / 0.6414 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003621/0.5541, allocations: 78.17 kB / 0.6414 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.5544, allocations: 59.42 kB / 0.6415 GB, free: 14.62 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5544, allocations: 0 / 0.6415 GB, free: 14.62 MB / 462.1 MB Notification: Performance of Templates: time 0.03622/0.5906, allocations: 22.09 MB / 0.6631 GB, free: 8.547 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)