Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008909/0.0008908, allocations: 175.3 kB / 15.42 MB, free: 6.152 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.516/1.516, allocations: 222.9 MB / 239 MB, free: 15.93 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.0007767/0.0007763, allocations: 94.27 kB / 289.8 MB, free: 4.617 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3164/0.3164, allocations: 78.43 MB / 419 MB, free: 52 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 8 kB / 498.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 68.74 MB / 0.5539 GB, free: 3.5 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006168/0.1351, allocations: 6.144 MB / 0.5599 GB, free: 13.31 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003971/0.1391, allocations: 1.798 MB / 0.5616 GB, free: 11.5 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.1404, allocations: 12 kB / 0.5617 GB, free: 11.49 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007083/0.1412, allocations: 155 kB / 0.5618 GB, free: 11.34 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.1433, allocations: 0.6134 MB / 0.5624 GB, free: 10.73 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.001405/0.1447, allocations: 0.5288 MB / 0.5629 GB, free: 10.2 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.1464, allocations: 1.186 MB / 0.5641 GB, free: 9.012 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.1468, allocations: 239.6 kB / 0.5643 GB, free: 8.766 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008363/0.1477, allocations: 477.7 kB / 0.5648 GB, free: 8.297 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008524/0.1485, allocations: 0.5986 MB / 0.5653 GB, free: 7.695 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002435/0.1488, allocations: 48 kB / 0.5654 GB, free: 7.648 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.1494, allocations: 175.9 kB / 0.5656 GB, free: 7.477 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.1496, allocations: 191 kB / 0.5657 GB, free: 7.289 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.1501, allocations: 0.5006 MB / 0.5662 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.1515, allocations: 1.273 MB / 0.5675 GB, free: 5.508 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1515, allocations: 0 / 0.5675 GB, free: 5.508 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1515, allocations: 4 kB / 0.5675 GB, free: 5.504 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.507e-05/0.1516, allocations: 0 / 0.5675 GB, free: 5.504 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006796/0.1584, allocations: 2.145 MB / 0.5696 GB, free: 3.309 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1585, allocations: 15.97 kB / 0.5696 GB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/0.1631, allocations: 0.7517 MB / 0.5703 GB, free: 2.539 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.1642, allocations: 0.7088 MB / 0.571 GB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.1644, allocations: 248.2 kB / 0.5712 GB, free: 1.508 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.1646, allocations: 72 kB / 0.5713 GB, free: 1.438 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.1664, allocations: 0.956 MB / 0.5722 GB, free: 488 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.1665, allocations: 3.938 kB / 0.5723 GB, free: 484 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.1665, allocations: 28 kB / 0.5723 GB, free: 456 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.1666, allocations: 16 kB / 0.5723 GB, free: 440 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2675/0.4341, allocations: 0.9712 MB / 0.5732 GB, free: 46 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.005168/0.4393, allocations: 3.18 MB / 0.5763 GB, free: 45.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.4413, allocations: 1.311 MB / 0.5776 GB, free: 44.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.4427, allocations: 0.7054 MB / 0.5783 GB, free: 44.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.4428, allocations: 16.86 kB / 0.5783 GB, free: 44.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.4428, allocations: 43.56 kB / 0.5784 GB, free: 44.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 2.524e-06/0.4428, allocations: 0 / 0.5784 GB, free: 44.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.02494/0.4678, allocations: 6.474 MB / 0.5847 GB, free: 44.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.4679, allocations: 62.92 kB / 0.5848 GB, free: 44.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.4695, allocations: 0.7929 MB / 0.5855 GB, free: 44.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003894/0.4699, allocations: 40.14 kB / 0.5856 GB, free: 44.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000494/0.4704, allocations: 432.6 kB / 0.586 GB, free: 43.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/0.4707, allocations: 300.6 kB / 0.5863 GB, free: 43.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.4709, allocations: 97.34 kB / 0.5864 GB, free: 43.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.638e-05/0.471, allocations: 350.1 kB / 0.5867 GB, free: 43.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.4725, allocations: 0.6598 MB / 0.5873 GB, free: 43.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.4741, allocations: 0.7868 MB / 0.5881 GB, free: 43.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/0.4925, allocations: 4.522 MB / 0.5925 GB, free: 42.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.4925, allocations: 5.719 kB / 0.5925 GB, free: 42.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01236/0.5049, allocations: 4.071 MB / 0.5965 GB, free: 41.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.505, allocations: 10.12 kB / 0.5965 GB, free: 41.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.505, allocations: 3.188 kB / 0.5965 GB, free: 41.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005502/0.5105, allocations: 1.735 MB / 0.5982 GB, free: 41.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009255/0.5115, allocations: 181.4 kB / 0.5984 GB, free: 41.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/0.5287, allocations: 8.333 MB / 0.6065 GB, free: 37.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.53, allocations: 153.4 kB / 0.6067 GB, free: 37.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-05/0.5301, allocations: 41.12 kB / 0.6067 GB, free: 37.21 MB / 442.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 (101): * Single equations (assignments): 100 * 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.0003924/0.5305, allocations: 218 kB / 0.6069 GB, free: 37.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.5307, allocations: 107.2 kB / 0.607 GB, free: 36.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.5423, allocations: 3.82 MB / 0.6107 GB, free: 36.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.5423, allocations: 10.66 kB / 0.6108 GB, free: 36.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5423, allocations: 4 kB / 0.6108 GB, free: 36.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.5424, allocations: 7.312 kB / 0.6108 GB, free: 36.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.5573, allocations: 5.37 MB / 0.616 GB, free: 34.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.5573, allocations: 0 / 0.616 GB, free: 34.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.5579, allocations: 93.89 kB / 0.6161 GB, free: 34.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005879/0.5638, allocations: 1.743 MB / 0.6178 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.5639, allocations: 17.94 kB / 0.6178 GB, free: 33.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/0.5803, allocations: 7.338 MB / 0.625 GB, free: 30.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5803, allocations: 0 / 0.625 GB, free: 30.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.5938, allocations: 4.745 MB / 0.6296 GB, free: 27.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.5941, allocations: 190.2 kB / 0.6298 GB, free: 27.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.5942, allocations: 16.12 kB / 0.6298 GB, free: 27.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008396/0.5951, allocations: 93.39 kB / 0.6299 GB, free: 27.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000557/0.5956, allocations: 198.7 kB / 0.6301 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/0.5957, allocations: 18.06 kB / 0.6301 GB, free: 27.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006114/0.5963, allocations: 0.5355 MB / 0.6306 GB, free: 26.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5963, allocations: 0 / 0.6306 GB, free: 26.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001044/0.5974, allocations: 400.9 kB / 0.631 GB, free: 26.88 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 (50): * Single equations (assignments): 49 * 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.0002121/0.5976, allocations: 124.2 kB / 0.6311 GB, free: 26.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005458/0.6031, allocations: 2.268 MB / 0.6334 GB, free: 25.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6031, allocations: 3.938 kB / 0.6334 GB, free: 25.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003847/0.607, allocations: 1.468 MB / 0.6348 GB, free: 24.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.6077, allocations: 75.28 kB / 0.6349 GB, free: 24.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.6111, allocations: 2.159 MB / 0.637 GB, free: 22.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.6116, allocations: 1.029 MB / 0.638 GB, free: 21.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004796/0.6121, allocations: 80.33 kB / 0.6381 GB, free: 20.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.6124, allocations: 51.44 kB / 0.6381 GB, free: 20.88 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6124, allocations: 1.781 kB / 0.6381 GB, free: 20.88 MB / 442.7 MB Notification: Performance of Templates: time 0.0444/0.6568, allocations: 19.48 MB / 0.6571 GB, free: 1.57 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)