Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 183.1 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.24/1.24, allocations: 222.9 MB / 239.6 MB, free: 11 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.0009935/0.0009935, allocations: 105.9 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4587/0.4587, allocations: 78.52 MB / 418.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.89 kB / 497.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2638, allocations: 68.16 MB / 0.5524 GB, free: 19.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.004884/0.2688, allocations: 6.812 MB / 0.5591 GB, free: 13.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.2714, allocations: 1.927 MB / 0.5609 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.2717, allocations: 12 kB / 0.561 GB, free: 11.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.2721, allocations: 166.9 kB / 0.5611 GB, free: 10.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.2732, allocations: 0.645 MB / 0.5617 GB, free: 10.27 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.0008701/0.2741, allocations: 0.5664 MB / 0.5623 GB, free: 9.711 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007801/0.2749, allocations: 1.374 MB / 0.5636 GB, free: 8.332 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.2752, allocations: 301.2 kB / 0.5639 GB, free: 8.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.2756, allocations: 0.5482 MB / 0.5645 GB, free: 7.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/0.276, allocations: 0.6998 MB / 0.5651 GB, free: 6.777 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.2761, allocations: 72 kB / 0.5652 GB, free: 6.707 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.2765, allocations: 195.8 kB / 0.5654 GB, free: 6.516 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.2766, allocations: 238.8 kB / 0.5656 GB, free: 6.281 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003061/0.2769, allocations: 0.5939 MB / 0.5662 GB, free: 5.684 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007859/0.2777, allocations: 1.458 MB / 0.5676 GB, free: 4.223 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2777, allocations: 3.938 kB / 0.5676 GB, free: 4.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.2777, allocations: 0 / 0.5676 GB, free: 4.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.2777, allocations: 0 / 0.5676 GB, free: 4.219 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006554/0.2843, allocations: 2.564 MB / 0.5701 GB, free: 1.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2843, allocations: 8.031 kB / 0.5701 GB, free: 1.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004205/0.2885, allocations: 0.7749 MB / 0.5709 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007923/0.2894, allocations: 0.7647 MB / 0.5717 GB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.2896, allocations: 268.1 kB / 0.5719 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.2898, allocations: 76 kB / 0.572 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.2919, allocations: 1.077 MB / 0.573 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2919, allocations: 7.875 kB / 0.573 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/0.292, allocations: 36 kB / 0.5731 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.292, allocations: 16 kB / 0.5731 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.2944, allocations: 1.128 MB / 0.5742 GB, free: 13.35 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.005075/0.2995, allocations: 3.467 MB / 0.5776 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.3015, allocations: 1.448 MB / 0.579 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.303, allocations: 0.7813 MB / 0.5798 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.3031, allocations: 16.98 kB / 0.5798 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3032, allocations: 47.56 kB / 0.5798 GB, free: 7.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 3.125e-06/0.3032, allocations: 0 / 0.5798 GB, free: 7.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.02465/0.3278, allocations: 6.613 MB / 0.5863 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.3279, allocations: 68.41 kB / 0.5863 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.3289, allocations: 0.8845 MB / 0.5872 GB, free: 15.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.3291, allocations: 41.7 kB / 0.5872 GB, free: 15.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.3294, allocations: 496.8 kB / 0.5877 GB, free: 15.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.3297, allocations: 354.9 kB / 0.5881 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00039/0.3301, allocations: 210.8 kB / 0.5883 GB, free: 14.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3302, allocations: 349.9 kB / 0.5886 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.3318, allocations: 0.7326 MB / 0.5893 GB, free: 13.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.3334, allocations: 0.8618 MB / 0.5901 GB, free: 12.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/0.3514, allocations: 4.849 MB / 0.5949 GB, free: 7.715 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.3515, allocations: 4 kB / 0.5949 GB, free: 7.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01352/0.365, allocations: 4.273 MB / 0.5991 GB, free: 3.422 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.365, allocations: 12 kB / 0.5991 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3651, allocations: 0 / 0.5991 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005773/0.3708, allocations: 1.725 MB / 0.6008 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.372, allocations: 235.7 kB / 0.601 GB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01922/0.3912, allocations: 8.323 MB / 0.6091 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.3927, allocations: 182.9 kB / 0.6093 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.3929, allocations: 43.98 kB / 0.6093 GB, free: 8.762 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004629/0.3934, allocations: 237.7 kB / 0.6096 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.3936, allocations: 118.5 kB / 0.6097 GB, free: 8.402 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.4066, allocations: 4.018 MB / 0.6136 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.4066, allocations: 15.94 kB / 0.6136 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.4066, allocations: 0 / 0.6136 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.4067, allocations: 7.969 kB / 0.6136 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/0.4214, allocations: 5.61 MB / 0.6191 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.4214, allocations: 3.938 kB / 0.6191 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007367/0.4222, allocations: 131.8 kB / 0.6192 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005764/0.4279, allocations: 1.737 MB / 0.6209 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.4281, allocations: 19.98 kB / 0.6209 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/0.4451, allocations: 7.35 MB / 0.6281 GB, free: 5.203 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4451, allocations: 0 / 0.6281 GB, free: 5.203 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.091/0.5361, allocations: 32.5 MB / 0.6599 GB, free: 4.367 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.5364, allocations: 207.4 kB / 0.66 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.5367, allocations: 16 kB / 0.6601 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.5378, allocations: 111.9 kB / 0.6602 GB, free: 4.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007543/0.5386, allocations: 212.6 kB / 0.6604 GB, free: 3.812 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.5387, allocations: 24 kB / 0.6604 GB, free: 3.789 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007738/0.5395, allocations: 0.6047 MB / 0.661 GB, free: 3.176 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5395, allocations: 0 / 0.661 GB, free: 3.176 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001786/0.5413, allocations: 0.5855 MB / 0.6616 GB, free: 2.59 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.00027/0.5416, allocations: 131.7 kB / 0.6617 GB, free: 2.453 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00663/0.5482, allocations: 2.44 MB / 0.6641 GB, free: 4 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.5482, allocations: 0 / 0.6641 GB, free: 4 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004736/0.553, allocations: 1.56 MB / 0.6656 GB, free: 14.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007861/0.5538, allocations: 84.42 kB / 0.6657 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007786/0.5616, allocations: 3.809 MB / 0.6694 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/0.5623, allocations: 1.138 MB / 0.6705 GB, free: 9.316 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003934/0.5627, allocations: 86.77 kB / 0.6706 GB, free: 9.227 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.563, allocations: 71.41 kB / 0.6707 GB, free: 9.156 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.563, allocations: 4 kB / 0.6707 GB, free: 9.152 MB / 490.7 MB Notification: Performance of Templates: time 0.245/0.8079, allocations: 30.35 MB / 0.7003 GB, free: 106.9 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)