Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 185.7 kB / 15.98 MB, free: 5.789 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.274/1.274, allocations: 222.9 MB / 239.6 MB, free: 11.01 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.0009437/0.0009436, allocations: 86.22 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4266/0.4266, allocations: 78.48 MB / 418.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 497.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2814, allocations: 68.13 MB / 0.5523 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.004729/0.2862, allocations: 6.765 MB / 0.5589 GB, free: 13.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.2885, allocations: 1.907 MB / 0.5608 GB, free: 11.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/0.2889, allocations: 12 kB / 0.5608 GB, free: 11.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.2892, allocations: 174.8 kB / 0.561 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.2903, allocations: 0.6457 MB / 0.5616 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000874/0.2912, allocations: 0.5585 MB / 0.5621 GB, free: 10.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007625/0.2919, allocations: 1.37 MB / 0.5635 GB, free: 8.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.2922, allocations: 295.3 kB / 0.5638 GB, free: 8.477 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003783/0.2926, allocations: 0.5521 MB / 0.5643 GB, free: 7.922 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.2931, allocations: 0.7036 MB / 0.565 GB, free: 7.215 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.2933, allocations: 64 kB / 0.565 GB, free: 7.152 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.2936, allocations: 199.9 kB / 0.5652 GB, free: 6.957 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.2937, allocations: 246.7 kB / 0.5655 GB, free: 6.715 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.294, allocations: 0.59 MB / 0.566 GB, free: 6.121 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007988/0.2948, allocations: 1.455 MB / 0.5675 GB, free: 4.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2949, allocations: 0 / 0.5675 GB, free: 4.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.2949, allocations: 0 / 0.5675 GB, free: 4.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.2949, allocations: 0 / 0.5675 GB, free: 4.66 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.006641/0.3015, allocations: 2.57 MB / 0.57 GB, free: 2.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.3016, allocations: 12.03 kB / 0.57 GB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004432/0.306, allocations: 0.771 MB / 0.5707 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.3069, allocations: 0.7763 MB / 0.5715 GB, free: 432 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.3071, allocations: 256.2 kB / 0.5717 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.3072, allocations: 80 kB / 0.5718 GB, free: 56 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.3094, allocations: 1.077 MB / 0.5729 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3095, allocations: 7.875 kB / 0.5729 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/0.3095, allocations: 32 kB / 0.5729 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.3096, allocations: 16 kB / 0.5729 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.3121, allocations: 1.12 MB / 0.574 GB, free: 13.8 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.005466/0.3176, allocations: 3.471 MB / 0.5774 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.3197, allocations: 1.436 MB / 0.5788 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.3213, allocations: 0.789 MB / 0.5796 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.3214, allocations: 12.98 kB / 0.5796 GB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3215, allocations: 43.56 kB / 0.5796 GB, free: 7.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 2.675e-06/0.3215, allocations: 0 / 0.5796 GB, free: 7.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.02669/0.3482, allocations: 6.617 MB / 0.5861 GB, free: 1.105 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.3483, allocations: 64.41 kB / 0.5862 GB, free: 1.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.3494, allocations: 0.8924 MB / 0.587 GB, free: 120 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.3496, allocations: 41.7 kB / 0.5871 GB, free: 72 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.3499, allocations: 0.489 MB / 0.5875 GB, free: 15.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.3502, allocations: 346.9 kB / 0.5879 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003927/0.3506, allocations: 198.8 kB / 0.5881 GB, free: 15.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3508, allocations: 353.9 kB / 0.5884 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.3525, allocations: 0.717 MB / 0.5891 GB, free: 13.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.3543, allocations: 0.8501 MB / 0.5899 GB, free: 13.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01925/0.3736, allocations: 4.833 MB / 0.5947 GB, free: 8.215 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3736, allocations: 0 / 0.5947 GB, free: 8.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01432/0.3879, allocations: 4.273 MB / 0.5988 GB, free: 3.926 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.388, allocations: 8 kB / 0.5988 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.388, allocations: 3.938 kB / 0.5988 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006565/0.3946, allocations: 1.803 MB / 0.6006 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.3958, allocations: 211.7 kB / 0.6008 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/0.4172, allocations: 8.578 MB / 0.6092 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4188, allocations: 179 kB / 0.6093 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.4189, allocations: 39.98 kB / 0.6094 GB, free: 8.965 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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.000445/0.4194, allocations: 247 kB / 0.6096 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.4196, allocations: 118.5 kB / 0.6097 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.4335, allocations: 4.018 MB / 0.6137 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.4336, allocations: 8 kB / 0.6137 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4336, allocations: 0 / 0.6137 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.4336, allocations: 7.922 kB / 0.6137 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.4496, allocations: 5.618 MB / 0.6192 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.4497, allocations: 4 kB / 0.6192 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008259/0.4505, allocations: 135.8 kB / 0.6193 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006235/0.4568, allocations: 1.737 MB / 0.621 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.4569, allocations: 23.94 kB / 0.621 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01816/0.4751, allocations: 7.355 MB / 0.6282 GB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4751, allocations: 4 kB / 0.6282 GB, free: 5.383 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09568/0.5708, allocations: 32.49 MB / 0.6599 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.5712, allocations: 211.4 kB / 0.6601 GB, free: 4.336 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.5715, allocations: 16 kB / 0.6601 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.5727, allocations: 111.8 kB / 0.6602 GB, free: 4.211 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007603/0.5734, allocations: 212.6 kB / 0.6604 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.961e-05/0.5735, allocations: 31.98 kB / 0.6605 GB, free: 3.973 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007554/0.5743, allocations: 0.5969 MB / 0.6611 GB, free: 3.367 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5743, allocations: 0 / 0.6611 GB, free: 3.367 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001706/0.576, allocations: 0.5894 MB / 0.6616 GB, free: 2.777 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.000254/0.5763, allocations: 123.2 kB / 0.6618 GB, free: 2.648 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006925/0.5832, allocations: 2.466 MB / 0.6642 GB, free: 172 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5832, allocations: 0 / 0.6642 GB, free: 172 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004927/0.5882, allocations: 1.564 MB / 0.6657 GB, free: 14.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/0.589, allocations: 86.95 kB / 0.6658 GB, free: 14.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007819/0.5968, allocations: 3.729 MB / 0.6694 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/0.5975, allocations: 1.135 MB / 0.6705 GB, free: 9.551 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004162/0.5979, allocations: 94.75 kB / 0.6706 GB, free: 9.453 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.5982, allocations: 63.36 kB / 0.6707 GB, free: 9.391 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5982, allocations: 0 / 0.6707 GB, free: 9.391 MB / 490.7 MB Notification: Performance of Templates: time 0.2487/0.8469, allocations: 30.64 MB / 0.7006 GB, free: 107.1 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)