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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 110 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 239.6 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 192.4 kB / 289.9 MB, free: 2.395 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4768/0.4768, allocations: 78.53 MB / 418.6 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001373, allocations: 79.86 kB / 497.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1421, allocations: 68.18 MB / 0.5525 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2616/0.4037, allocations: 6.806 MB / 0.5592 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.4075, allocations: 1.914 MB / 0.561 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000915/0.4085, allocations: 11.28 kB / 0.561 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005862/0.4091, allocations: 173.5 kB / 0.5612 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.4107, allocations: 0.6241 MB / 0.5618 GB, free: 35.26 MB / 430.1 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.001155/0.4119, allocations: 0.5682 MB / 0.5624 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.4132, allocations: 1.419 MB / 0.5637 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004053/0.4137, allocations: 324.1 kB / 0.5641 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.4143, allocations: 0.591 MB / 0.5646 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006206/0.4149, allocations: 0.7303 MB / 0.5653 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.415, allocations: 102.8 kB / 0.5654 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.4155, allocations: 234.9 kB / 0.5657 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.4157, allocations: 289.7 kB / 0.5659 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.4161, allocations: 0.6255 MB / 0.5666 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009574/0.4171, allocations: 1.141 MB / 0.5677 GB, free: 34.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4171, allocations: 7.344 kB / 0.5677 GB, free: 34.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4171, allocations: 0 / 0.5677 GB, free: 34.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.4171, allocations: 0 / 0.5677 GB, free: 34.24 MB / 430.1 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.007061/0.4242, allocations: 2.566 MB / 0.5702 GB, free: 33.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4242, allocations: 9.344 kB / 0.5702 GB, free: 33.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/0.4289, allocations: 0.7801 MB / 0.571 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.4299, allocations: 0.7671 MB / 0.5717 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/0.4302, allocations: 259.2 kB / 0.572 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.4303, allocations: 82.5 kB / 0.572 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.4324, allocations: 1.082 MB / 0.5731 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.4324, allocations: 7 kB / 0.5731 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-05/0.4325, allocations: 28.12 kB / 0.5731 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.4326, allocations: 18.59 kB / 0.5731 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.4348, allocations: 1.127 MB / 0.5742 GB, free: 32.56 MB / 430.1 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.00515/0.4399, allocations: 3.472 MB / 0.5776 GB, free: 31.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.4418, allocations: 1.425 MB / 0.579 GB, free: 30.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.4433, allocations: 0.7908 MB / 0.5798 GB, free: 30.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.4434, allocations: 16.17 kB / 0.5798 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.4434, allocations: 42.38 kB / 0.5798 GB, free: 30.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.416e-06/0.4434, allocations: 0 / 0.5798 GB, free: 30.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02465/0.4681, allocations: 6.613 MB / 0.5863 GB, free: 28.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.4682, allocations: 62.12 kB / 0.5864 GB, free: 28.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.4698, allocations: 0.8889 MB / 0.5872 GB, free: 28.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003862/0.4702, allocations: 40.98 kB / 0.5873 GB, free: 28.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/0.4706, allocations: 498 kB / 0.5877 GB, free: 28.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005339/0.4712, allocations: 355 kB / 0.5881 GB, free: 27.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005867/0.4718, allocations: 205.1 kB / 0.5883 GB, free: 27.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4719, allocations: 348.5 kB / 0.5886 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.4736, allocations: 0.7325 MB / 0.5893 GB, free: 27.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.4754, allocations: 0.8602 MB / 0.5902 GB, free: 26.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01948/0.4949, allocations: 4.868 MB / 0.5949 GB, free: 25.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.495, allocations: 1.219 kB / 0.5949 GB, free: 25.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0145/0.5095, allocations: 4.282 MB / 0.5991 GB, free: 24.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.5096, allocations: 6.906 kB / 0.5991 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.5096, allocations: 2.375 kB / 0.5991 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006309/0.5159, allocations: 1.734 MB / 0.6008 GB, free: 24.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.5173, allocations: 228.7 kB / 0.601 GB, free: 24.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/0.5391, allocations: 9.06 MB / 0.6099 GB, free: 19.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.541, allocations: 182.3 kB / 0.61 GB, free: 19.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.5412, allocations: 40.83 kB / 0.6101 GB, free: 19.32 MB / 430.1 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.0005627/0.5417, allocations: 245.2 kB / 0.6103 GB, free: 19.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.542, allocations: 124.1 kB / 0.6104 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.5544, allocations: 4.01 MB / 0.6144 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.5545, allocations: 8.656 kB / 0.6144 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5545, allocations: 0 / 0.6144 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/0.5545, allocations: 7.969 kB / 0.6144 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.5679, allocations: 5.61 MB / 0.6199 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.568, allocations: 0.8438 kB / 0.6199 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007721/0.5688, allocations: 132.7 kB / 0.62 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005235/0.574, allocations: 1.744 MB / 0.6217 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/0.5743, allocations: 21.06 kB / 0.6217 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01597/0.5902, allocations: 8.074 MB / 0.6296 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5903, allocations: 0 / 0.6296 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/0.6057, allocations: 4.954 MB / 0.6344 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.6062, allocations: 203.4 kB / 0.6346 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.6064, allocations: 20 kB / 0.6346 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.6075, allocations: 105 kB / 0.6347 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008003/0.6083, allocations: 217.4 kB / 0.6349 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.074e-05/0.6084, allocations: 29.19 kB / 0.635 GB, free: 10.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008323/0.6092, allocations: 0.5969 MB / 0.6356 GB, free: 9.773 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6093, allocations: 0 / 0.6356 GB, free: 9.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00162/0.6109, allocations: 435.5 kB / 0.636 GB, free: 9.348 MB / 446.1 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.0003265/0.6112, allocations: 131.7 kB / 0.6361 GB, free: 9.207 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007585/0.6188, allocations: 2.51 MB / 0.6385 GB, free: 6.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.6189, allocations: 0 / 0.6385 GB, free: 6.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004897/0.6238, allocations: 1.596 MB / 0.6401 GB, free: 5.082 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000985/0.6248, allocations: 97.2 kB / 0.6402 GB, free: 4.988 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/0.6291, allocations: 2.53 MB / 0.6427 GB, free: 2.461 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/0.6297, allocations: 1.099 MB / 0.6437 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.6302, allocations: 71.42 kB / 0.6438 GB, free: 1.266 MB / 446.1 MB Notification: Performance of SimCode: time 6.32e-07/0.6302, allocations: 0 / 0.6438 GB, free: 1.266 MB / 446.1 MB Notification: Performance of Templates: time 0.02613/0.6563, allocations: 20.08 MB / 0.6634 GB, free: 13.35 MB / 478.1 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)