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.001023/0.001023, allocations: 176.2 kB / 15.77 MB, free: 6.328 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.369/1.369, allocations: 223.3 MB / 239.8 MB, free: 24 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.0008601, allocations: 91.12 kB / 290.9 MB, free: 4.543 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5024/0.5024, allocations: 78.61 MB / 420.7 MB, free: 36.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003859, allocations: 12 kB / 0.4888 GB, free: 7.242 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 69.37 MB / 0.5565 GB, free: 1.812 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005921/0.1544, allocations: 5.954 MB / 0.5623 GB, free: 11.83 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003933/0.1584, allocations: 1.811 MB / 0.5641 GB, free: 10.01 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007449/0.1591, allocations: 12 kB / 0.5641 GB, free: 10 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.1596, allocations: 158.8 kB / 0.5643 GB, free: 9.844 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.1612, allocations: 0.5903 MB / 0.5649 GB, free: 9.25 MB / 442.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.001218/0.1624, allocations: 0.5284 MB / 0.5654 GB, free: 8.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.1637, allocations: 1.281 MB / 0.5666 GB, free: 7.445 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/0.1642, allocations: 261.7 kB / 0.5669 GB, free: 7.18 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006275/0.1648, allocations: 0.5055 MB / 0.5674 GB, free: 6.672 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000708/0.1655, allocations: 0.6454 MB / 0.568 GB, free: 6.023 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1657, allocations: 52 kB / 0.568 GB, free: 5.973 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.1661, allocations: 175.9 kB / 0.5682 GB, free: 5.801 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.1663, allocations: 214.9 kB / 0.5684 GB, free: 5.59 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.1665, allocations: 225 kB / 0.5686 GB, free: 5.363 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009847/0.1674, allocations: 1.103 MB / 0.5697 GB, free: 4.258 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1675, allocations: 0 / 0.5697 GB, free: 4.258 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1675, allocations: 0 / 0.5697 GB, free: 4.258 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1675, allocations: 0 / 0.5697 GB, free: 4.258 MB / 442.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.00769/0.1752, allocations: 2.408 MB / 0.5721 GB, free: 1.793 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1752, allocations: 12.03 kB / 0.5721 GB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005032/0.1803, allocations: 0.7905 MB / 0.5728 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.1817, allocations: 0.7266 MB / 0.5735 GB, free: 212 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.301/0.4827, allocations: 263.9 kB / 0.5738 GB, free: 44.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00054/0.4833, allocations: 79.75 kB / 0.5739 GB, free: 44.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/0.4864, allocations: 1.165 MB / 0.575 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.4865, allocations: 1.188 kB / 0.575 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.983e-05/0.4866, allocations: 30.34 kB / 0.575 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.4866, allocations: 20.03 kB / 0.5751 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/0.4897, allocations: 1.239 MB / 0.5763 GB, free: 44.5 MB / 442.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.00635/0.4961, allocations: 3.527 MB / 0.5797 GB, free: 43.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.4983, allocations: 1.52 MB / 0.5812 GB, free: 43.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.5002, allocations: 0.877 MB / 0.5821 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.5003, allocations: 13.89 kB / 0.5821 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.5003, allocations: 45.34 kB / 0.5821 GB, free: 43.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 3.526e-06/0.5003, allocations: 0 / 0.5821 GB, free: 43.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.02986/0.5302, allocations: 8.18 MB / 0.5901 GB, free: 42.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.5303, allocations: 66 kB / 0.5902 GB, free: 42.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.532, allocations: 0.8821 MB / 0.591 GB, free: 42.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002688/0.5322, allocations: 42.89 kB / 0.5911 GB, free: 42.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.5328, allocations: 0.4888 MB / 0.5915 GB, free: 42.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004117/0.5332, allocations: 349.3 kB / 0.5919 GB, free: 41.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.59e-05/0.5333, allocations: 27.16 kB / 0.5919 GB, free: 41.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5334, allocations: 354.4 kB / 0.5922 GB, free: 41.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.5352, allocations: 0.819 MB / 0.593 GB, free: 41.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.5371, allocations: 0.948 MB / 0.594 GB, free: 40.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.5388, allocations: 0.8765 MB / 0.5948 GB, free: 40.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5388, allocations: 3.156 kB / 0.5948 GB, free: 40.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01433/0.5531, allocations: 5.246 MB / 0.6 GB, free: 39.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.5532, allocations: 6.406 kB / 0.6 GB, free: 39.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.5532, allocations: 0 / 0.6 GB, free: 39.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006478/0.5597, allocations: 2.096 MB / 0.602 GB, free: 39.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.5609, allocations: 229.5 kB / 0.6022 GB, free: 39.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/0.5817, allocations: 9.512 MB / 0.6115 GB, free: 34.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.5835, allocations: 228 kB / 0.6117 GB, free: 34.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.5837, allocations: 42.31 kB / 0.6118 GB, free: 34.89 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005491/0.5842, allocations: 241.7 kB / 0.612 GB, free: 34.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.5844, allocations: 119.8 kB / 0.6121 GB, free: 34.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/0.5999, allocations: 4.948 MB / 0.6169 GB, free: 33.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/0.6, allocations: 9.844 kB / 0.617 GB, free: 33.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.6, allocations: 1.688 kB / 0.617 GB, free: 33.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.59e-05/0.6001, allocations: 7.312 kB / 0.617 GB, free: 33.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/0.6192, allocations: 6.544 MB / 0.6234 GB, free: 31.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.6193, allocations: 2.344 kB / 0.6234 GB, free: 31.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009396/0.6202, allocations: 147.9 kB / 0.6235 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007285/0.6275, allocations: 2.046 MB / 0.6255 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003014/0.6279, allocations: 18.83 kB / 0.6255 GB, free: 31.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.6455, allocations: 8.205 MB / 0.6335 GB, free: 25.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6455, allocations: 2.031 kB / 0.6335 GB, free: 25.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.6609, allocations: 5.97 MB / 0.6394 GB, free: 19.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/0.6614, allocations: 208.3 kB / 0.6396 GB, free: 19.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.6615, allocations: 20 kB / 0.6396 GB, free: 19.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.6626, allocations: 163.9 kB / 0.6397 GB, free: 19.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/0.6633, allocations: 212.6 kB / 0.6399 GB, free: 19.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/0.6634, allocations: 26.53 kB / 0.64 GB, free: 19.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000678/0.6641, allocations: 0.5891 MB / 0.6405 GB, free: 18.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6641, allocations: 0 / 0.6405 GB, free: 18.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001266/0.6653, allocations: 443.4 kB / 0.641 GB, free: 18.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002758/0.6656, allocations: 139.5 kB / 0.6411 GB, free: 17.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006584/0.6722, allocations: 2.781 MB / 0.6438 GB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6723, allocations: 4 kB / 0.6438 GB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004728/0.677, allocations: 1.794 MB / 0.6456 GB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008685/0.6779, allocations: 92.98 kB / 0.6457 GB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.6812, allocations: 2.458 MB / 0.6481 GB, free: 10.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.6817, allocations: 1.099 MB / 0.6491 GB, free: 9.707 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.6819, allocations: 67.42 kB / 0.6492 GB, free: 9.645 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.682, allocations: 1.969 kB / 0.6492 GB, free: 9.645 MB / 442.7 MB Notification: Performance of Templates: time 0.02405/0.706, allocations: 19.98 MB / 0.6687 GB, free: 5.77 MB / 458.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)