Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.00124/0.00124, allocations: 175.1 kB / 16.07 MB, free: 5.73 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.264/1.264, allocations: 222.9 MB / 239.7 MB, free: 10.17 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.0007474/0.0007476, allocations: 96.22 kB / 290.4 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4429/0.4429, allocations: 78.42 MB / 419.6 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 12.22 kB / 499.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.318, allocations: 68.75 MB / 0.5545 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005438/0.3235, allocations: 6.766 MB / 0.5611 GB, free: 13.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003636/0.3272, allocations: 1.915 MB / 0.563 GB, free: 11.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007379/0.3279, allocations: 15.94 kB / 0.563 GB, free: 11.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004839/0.3285, allocations: 162.9 kB / 0.5632 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.3299, allocations: 0.6546 MB / 0.5638 GB, free: 10.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3311, allocations: 0.5563 MB / 0.5643 GB, free: 10.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009426/0.332, allocations: 1.355 MB / 0.5657 GB, free: 8.781 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.3324, allocations: 293.2 kB / 0.5659 GB, free: 8.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004552/0.3328, allocations: 0.5131 MB / 0.5664 GB, free: 7.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004848/0.3333, allocations: 0.6646 MB / 0.5671 GB, free: 7.301 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.3334, allocations: 52 kB / 0.5671 GB, free: 7.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.3338, allocations: 183.9 kB / 0.5673 GB, free: 7.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.3339, allocations: 230.7 kB / 0.5675 GB, free: 6.844 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.3343, allocations: 0.5666 MB / 0.5681 GB, free: 6.273 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000703/0.335, allocations: 1.104 MB / 0.5692 GB, free: 5.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.335, allocations: 0 / 0.5692 GB, free: 5.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.335, allocations: 0 / 0.5692 GB, free: 5.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.335, allocations: 0 / 0.5692 GB, free: 5.168 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.006481/0.3415, allocations: 2.319 MB / 0.5714 GB, free: 2.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3415, allocations: 12.03 kB / 0.5714 GB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004609/0.3462, allocations: 0.7865 MB / 0.5722 GB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.3473, allocations: 0.7685 MB / 0.573 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.3475, allocations: 260.2 kB / 0.5732 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.3477, allocations: 80 kB / 0.5733 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.3497, allocations: 1.077 MB / 0.5743 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.3497, allocations: 3.938 kB / 0.5743 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.792e-05/0.3498, allocations: 32 kB / 0.5744 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.3499, allocations: 23.98 kB / 0.5744 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.3523, allocations: 1.117 MB / 0.5755 GB, free: 14.54 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.006342/0.3587, allocations: 3.467 MB / 0.5789 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.361, allocations: 1.424 MB / 0.5803 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.3626, allocations: 0.7852 MB / 0.581 GB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.3628, allocations: 9 kB / 0.581 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.3628, allocations: 43.56 kB / 0.5811 GB, free: 8.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 3.306e-06/0.3628, allocations: 0 / 0.5811 GB, free: 8.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.02444/0.3873, allocations: 6.621 MB / 0.5875 GB, free: 1.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.3873, allocations: 64.41 kB / 0.5876 GB, free: 1.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.3886, allocations: 0.8962 MB / 0.5885 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.3887, allocations: 45.7 kB / 0.5885 GB, free: 0.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.3891, allocations: 496.8 kB / 0.589 GB, free: 348 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.3894, allocations: 347.1 kB / 0.5893 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.3896, allocations: 101.7 kB / 0.5894 GB, free: 15.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3898, allocations: 361.9 kB / 0.5898 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.3915, allocations: 0.7131 MB / 0.5905 GB, free: 14.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.3932, allocations: 0.8501 MB / 0.5913 GB, free: 13.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01828/0.4115, allocations: 4.837 MB / 0.596 GB, free: 9.066 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.4116, allocations: 0 / 0.596 GB, free: 9.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01394/0.4256, allocations: 4.273 MB / 0.6002 GB, free: 4.777 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.4256, allocations: 8 kB / 0.6002 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.4257, allocations: 7.938 kB / 0.6002 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006233/0.4319, allocations: 1.8 MB / 0.602 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.433, allocations: 207.7 kB / 0.6022 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/0.4535, allocations: 8.582 MB / 0.6105 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.4551, allocations: 175 kB / 0.6107 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.4553, allocations: 39.98 kB / 0.6107 GB, free: 9.824 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.0005483/0.4558, allocations: 251.9 kB / 0.611 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.4561, allocations: 118.5 kB / 0.6111 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.4688, allocations: 4.01 MB / 0.615 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.4689, allocations: 8 kB / 0.615 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4689, allocations: 4 kB / 0.615 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.4689, allocations: 7.922 kB / 0.615 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.4842, allocations: 5.618 MB / 0.6205 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.4843, allocations: 0 / 0.6205 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007875/0.4851, allocations: 135.8 kB / 0.6207 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005643/0.4907, allocations: 1.741 MB / 0.6224 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002119/0.491, allocations: 20 kB / 0.6224 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01681/0.5078, allocations: 7.355 MB / 0.6296 GB, free: 6.254 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5078, allocations: 3.938 kB / 0.6296 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/0.5231, allocations: 4.958 MB / 0.6344 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/0.5236, allocations: 203.4 kB / 0.6346 GB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.5238, allocations: 20 kB / 0.6346 GB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5248, allocations: 111.9 kB / 0.6347 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000736/0.5256, allocations: 212.4 kB / 0.6349 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/0.5257, allocations: 31.92 kB / 0.635 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007873/0.5265, allocations: 0.6008 MB / 0.6355 GB, free: 72 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5265, allocations: 4 kB / 0.6355 GB, free: 68 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.001398/0.5279, allocations: 439.6 kB / 0.636 GB, free: 15.63 MB / 458.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.0003008/0.5282, allocations: 127.3 kB / 0.6361 GB, free: 15.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006771/0.535, allocations: 2.454 MB / 0.6385 GB, free: 13.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.535, allocations: 0.5625 kB / 0.6385 GB, free: 13.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004787/0.5398, allocations: 1.542 MB / 0.64 GB, free: 11.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009442/0.5408, allocations: 98.97 kB / 0.6401 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.5447, allocations: 2.471 MB / 0.6425 GB, free: 8.879 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/0.5454, allocations: 1.099 MB / 0.6436 GB, free: 7.754 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.5457, allocations: 71.41 kB / 0.6436 GB, free: 7.688 MB / 458.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5457, allocations: 0 / 0.6436 GB, free: 7.688 MB / 458.7 MB Notification: Performance of Templates: time 0.02912/0.5749, allocations: 19.96 MB / 0.6631 GB, free: 3.711 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)