Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.37/1.37, allocations: 222.9 MB / 240 MB, free: 4.57 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.001462/0.001462, allocations: 195.7 kB / 290.3 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4412/0.4412, allocations: 78.52 MB / 419 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 79.88 kB / 498.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1227, allocations: 68.18 MB / 0.5538 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2358/0.3585, allocations: 5.781 MB / 0.5594 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.3616, allocations: 1.737 MB / 0.5611 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007887/0.3624, allocations: 11.19 kB / 0.5611 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.363, allocations: 198.7 kB / 0.5613 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.3649, allocations: 0.684 MB / 0.562 GB, free: 35.75 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.001204/0.3661, allocations: 0.5612 MB / 0.5626 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.3676, allocations: 1.266 MB / 0.5638 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.368, allocations: 265.8 kB / 0.564 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.3686, allocations: 0.5241 MB / 0.5646 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.3692, allocations: 0.6426 MB / 0.5652 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.3693, allocations: 89.75 kB / 0.5653 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003662/0.3697, allocations: 224.6 kB / 0.5655 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.3698, allocations: 240.2 kB / 0.5657 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.3702, allocations: 0.554 MB / 0.5662 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.3713, allocations: 1.351 MB / 0.5676 GB, free: 34.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3713, allocations: 0.6562 kB / 0.5676 GB, free: 34.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3713, allocations: 0 / 0.5676 GB, free: 34.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.3714, allocations: 0 / 0.5676 GB, free: 34.57 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006551/0.3779, allocations: 2.347 MB / 0.5699 GB, free: 33.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.378, allocations: 11.31 kB / 0.5699 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004522/0.3825, allocations: 0.7633 MB / 0.5706 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/0.3834, allocations: 0.7041 MB / 0.5713 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.3837, allocations: 255.2 kB / 0.5715 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.3838, allocations: 75.2 kB / 0.5716 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.3855, allocations: 0.9547 MB / 0.5726 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3855, allocations: 6.688 kB / 0.5726 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-05/0.3856, allocations: 26.69 kB / 0.5726 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3856, allocations: 13.91 kB / 0.5726 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.3874, allocations: 0.9827 MB / 0.5736 GB, free: 33.04 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.004228/0.3916, allocations: 3.169 MB / 0.5767 GB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.3934, allocations: 1.311 MB / 0.5779 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.3945, allocations: 0.7042 MB / 0.5786 GB, free: 31.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.3946, allocations: 9.469 kB / 0.5786 GB, free: 31.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.3946, allocations: 38.38 kB / 0.5787 GB, free: 31.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.354e-06/0.3946, allocations: 4 kB / 0.5787 GB, free: 31.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.0225/0.4171, allocations: 6.479 MB / 0.585 GB, free: 30.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.4172, allocations: 65.81 kB / 0.5851 GB, free: 29.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000934/0.4181, allocations: 0.7932 MB / 0.5858 GB, free: 29.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.4183, allocations: 40.27 kB / 0.5859 GB, free: 29.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.4185, allocations: 431.8 kB / 0.5863 GB, free: 29.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.4187, allocations: 301.8 kB / 0.5866 GB, free: 28.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004272/0.4192, allocations: 186 kB / 0.5867 GB, free: 28.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.4192, allocations: 350.5 kB / 0.5871 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.4206, allocations: 0.6611 MB / 0.5877 GB, free: 28.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.4221, allocations: 0.7845 MB / 0.5885 GB, free: 27.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01716/0.4392, allocations: 4.519 MB / 0.5929 GB, free: 26.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.4393, allocations: 1.781 kB / 0.5929 GB, free: 26.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01205/0.4513, allocations: 4.065 MB / 0.5969 GB, free: 25.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4514, allocations: 8.406 kB / 0.5969 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.4514, allocations: 2.312 kB / 0.5969 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005612/0.457, allocations: 1.743 MB / 0.5986 GB, free: 25.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008617/0.4579, allocations: 180.7 kB / 0.5988 GB, free: 25.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01916/0.477, allocations: 9.045 MB / 0.6076 GB, free: 21.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.4784, allocations: 155.9 kB / 0.6077 GB, free: 20.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.535e-05/0.4785, allocations: 37.48 kB / 0.6078 GB, free: 20.97 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 (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.0003793/0.4788, allocations: 226 kB / 0.608 GB, free: 20.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.479, allocations: 103.3 kB / 0.6081 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.4901, allocations: 3.82 MB / 0.6118 GB, free: 18.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.4902, allocations: 11.38 kB / 0.6118 GB, free: 18.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4902, allocations: 1.125 kB / 0.6118 GB, free: 18.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.4902, allocations: 5.266 kB / 0.6118 GB, free: 18.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.502, allocations: 5.376 MB / 0.6171 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.5021, allocations: 2.062 kB / 0.6171 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.5025, allocations: 87.89 kB / 0.6172 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004818/0.5073, allocations: 1.744 MB / 0.6189 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.5074, allocations: 16 kB / 0.6189 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/0.5223, allocations: 8.046 MB / 0.6268 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5223, allocations: 5.25 kB / 0.6268 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/0.5349, allocations: 4.74 MB / 0.6314 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.5353, allocations: 191.6 kB / 0.6316 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.5355, allocations: 16 kB / 0.6316 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.5365, allocations: 87.89 kB / 0.6317 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006638/0.5372, allocations: 204.7 kB / 0.6319 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/0.5373, allocations: 20.8 kB / 0.6319 GB, free: 14.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006497/0.538, allocations: 0.5419 MB / 0.6324 GB, free: 13.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.538, allocations: 0 / 0.6324 GB, free: 13.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001205/0.5392, allocations: 403.5 kB / 0.6328 GB, free: 13.2 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 (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.0002416/0.5394, allocations: 124.8 kB / 0.6329 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006012/0.5454, allocations: 2.311 MB / 0.6352 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5455, allocations: 0 / 0.6352 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004257/0.5497, allocations: 1.512 MB / 0.6367 GB, free: 9.223 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006593/0.5504, allocations: 77.19 kB / 0.6367 GB, free: 9.148 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.5533, allocations: 1.79 MB / 0.6385 GB, free: 7.359 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/0.554, allocations: 1.029 MB / 0.6395 GB, free: 6.301 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002458/0.5542, allocations: 81.03 kB / 0.6396 GB, free: 6.223 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.5544, allocations: 59.42 kB / 0.6396 GB, free: 6.164 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5544, allocations: 0 / 0.6396 GB, free: 6.164 MB / 446.1 MB Notification: Performance of Templates: time 0.03127/0.5857, allocations: 22.21 MB / 0.6613 GB, free: 148 kB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)