Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.0009812/0.0009811, allocations: 177.9 kB / 15.42 MB, free: 6.211 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.325/1.325, allocations: 222.9 MB / 239 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007583/0.0007584, allocations: 92.11 kB / 289.8 MB, free: 14.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4798/0.4798, allocations: 78.42 MB / 418.9 MB, free: 44.3 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006295/0.0006296, allocations: 19.98 kB / 498.4 MB, free: 3.891 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3545, allocations: 68.75 MB / 0.5539 GB, free: 39.69 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006967/0.3615, allocations: 6.815 MB / 0.5605 GB, free: 36.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003902/0.3654, allocations: 1.915 MB / 0.5624 GB, free: 36.19 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007463/0.3662, allocations: 13.06 kB / 0.5624 GB, free: 36.19 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005533/0.3668, allocations: 171.3 kB / 0.5626 GB, free: 36.13 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.3683, allocations: 0.6423 MB / 0.5632 GB, free: 35.82 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001366/0.3697, allocations: 0.5697 MB / 0.5638 GB, free: 35.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.371, allocations: 1.365 MB / 0.5651 GB, free: 35.37 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004518/0.3715, allocations: 286.1 kB / 0.5654 GB, free: 35.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007228/0.3722, allocations: 0.519 MB / 0.5659 GB, free: 35.13 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007515/0.373, allocations: 0.6653 MB / 0.5665 GB, free: 34.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.3731, allocations: 52.59 kB / 0.5666 GB, free: 34.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.3736, allocations: 184.5 kB / 0.5668 GB, free: 34.92 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.3738, allocations: 228.3 kB / 0.567 GB, free: 34.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.3742, allocations: 0.564 MB / 0.5675 GB, free: 34.49 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.3753, allocations: 1.43 MB / 0.5689 GB, free: 33.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3753, allocations: 0 / 0.5689 GB, free: 33.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3753, allocations: 0 / 0.5689 GB, free: 33.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3753, allocations: 2.844 kB / 0.5689 GB, free: 33.93 MB / 426.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.006566/0.3819, allocations: 2.322 MB / 0.5712 GB, free: 32.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.382, allocations: 8.219 kB / 0.5712 GB, free: 32.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/0.3867, allocations: 0.7715 MB / 0.572 GB, free: 32.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000921/0.3877, allocations: 0.7729 MB / 0.5727 GB, free: 32.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.3879, allocations: 260.1 kB / 0.573 GB, free: 31.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.388, allocations: 79.22 kB / 0.573 GB, free: 31.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.39, allocations: 1.077 MB / 0.5741 GB, free: 31.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.3901, allocations: 3.938 kB / 0.5741 GB, free: 31.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/0.3902, allocations: 31.97 kB / 0.5741 GB, free: 31.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.3902, allocations: 21.59 kB / 0.5741 GB, free: 31.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.3924, allocations: 1.122 MB / 0.5752 GB, free: 31.18 MB / 426.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.005043/0.3974, allocations: 3.472 MB / 0.5786 GB, free: 29.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.3991, allocations: 1.438 MB / 0.58 GB, free: 28.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.4004, allocations: 0.7827 MB / 0.5808 GB, free: 27.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.4005, allocations: 16.42 kB / 0.5808 GB, free: 27.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.4006, allocations: 38.41 kB / 0.5808 GB, free: 27.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 3.266e-06/0.4006, allocations: 6.812 kB / 0.5809 GB, free: 27.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02273/0.4233, allocations: 6.614 MB / 0.5873 GB, free: 26.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.4234, allocations: 66.47 kB / 0.5874 GB, free: 26.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.4245, allocations: 0.8945 MB / 0.5882 GB, free: 26.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.4246, allocations: 41.08 kB / 0.5883 GB, free: 26.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.4249, allocations: 498.2 kB / 0.5888 GB, free: 25.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.4251, allocations: 349.6 kB / 0.5891 GB, free: 25.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.4253, allocations: 113.8 kB / 0.5892 GB, free: 25.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.291e-05/0.4254, allocations: 344 kB / 0.5895 GB, free: 25.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.4268, allocations: 0.7338 MB / 0.5902 GB, free: 24.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.4284, allocations: 0.8606 MB / 0.5911 GB, free: 24.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01871/0.4471, allocations: 4.842 MB / 0.5958 GB, free: 23.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.4471, allocations: 1.312 kB / 0.5958 GB, free: 23.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01414/0.4613, allocations: 4.281 MB / 0.6 GB, free: 22.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.4614, allocations: 6.406 kB / 0.6 GB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.4614, allocations: 6.344 kB / 0.6 GB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006478/0.4679, allocations: 1.721 MB / 0.6017 GB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.4691, allocations: 231.9 kB / 0.6019 GB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/0.4875, allocations: 8.346 MB / 0.6101 GB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.4893, allocations: 182.8 kB / 0.6102 GB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.566e-05/0.4895, allocations: 39.61 kB / 0.6103 GB, free: 16.49 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.0004192/0.4899, allocations: 240.8 kB / 0.6105 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.4901, allocations: 118.9 kB / 0.6106 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.5018, allocations: 4.014 MB / 0.6145 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.5019, allocations: 12 kB / 0.6146 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5019, allocations: 0 / 0.6146 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.5019, allocations: 7.984 kB / 0.6146 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/0.5151, allocations: 5.61 MB / 0.62 GB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.5151, allocations: 7.875 kB / 0.62 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/0.5158, allocations: 127.9 kB / 0.6202 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00514/0.521, allocations: 1.734 MB / 0.6219 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.5211, allocations: 19.98 kB / 0.6219 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/0.5365, allocations: 7.345 MB / 0.6291 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5365, allocations: 0 / 0.6291 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/0.5512, allocations: 4.958 MB / 0.6339 GB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005268/0.5517, allocations: 203.4 kB / 0.6341 GB, free: 8.746 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.5519, allocations: 20 kB / 0.6341 GB, free: 8.727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009816/0.5529, allocations: 107.8 kB / 0.6342 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007104/0.5536, allocations: 216.6 kB / 0.6344 GB, free: 8.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.027e-05/0.5537, allocations: 27.98 kB / 0.6344 GB, free: 8.379 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007232/0.5544, allocations: 0.593 MB / 0.635 GB, free: 7.777 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5544, allocations: 0 / 0.635 GB, free: 7.777 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00126/0.5557, allocations: 439.5 kB / 0.6354 GB, free: 7.348 MB / 442.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.0002586/0.556, allocations: 131 kB / 0.6356 GB, free: 7.207 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006372/0.5624, allocations: 2.425 MB / 0.6379 GB, free: 4.781 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5624, allocations: 4.062 kB / 0.6379 GB, free: 4.777 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004519/0.5669, allocations: 1.56 MB / 0.6395 GB, free: 3.203 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009917/0.5679, allocations: 84.42 kB / 0.6395 GB, free: 3.121 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.5717, allocations: 2.493 MB / 0.642 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.5724, allocations: 1.099 MB / 0.643 GB, free: 15.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004257/0.5728, allocations: 90.77 kB / 0.6431 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.573, allocations: 63.42 kB / 0.6432 GB, free: 15.32 MB / 458.7 MB Notification: Performance of SimCode: time 7.62e-07/0.573, allocations: 0 / 0.6432 GB, free: 15.32 MB / 458.7 MB Notification: Performance of Templates: time 0.03205/0.6051, allocations: 20.43 MB / 0.6632 GB, free: 10.9 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)