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.001365/0.001365, allocations: 174.6 kB / 15.77 MB, free: 6.324 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.442/1.442, allocations: 223.3 MB / 239.8 MB, free: 1.734 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.0007477/0.0007476, allocations: 96.28 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4871/0.4871, allocations: 78.62 MB / 420.7 MB, free: 44.3 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004157, allocations: 12 kB / 0.4888 GB, free: 2.922 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4296, allocations: 69.34 MB / 0.5565 GB, free: 38.84 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005285/0.435, allocations: 5.34 MB / 0.5617 GB, free: 38.04 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003608/0.4386, allocations: 1.691 MB / 0.5634 GB, free: 36.84 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008341/0.4395, allocations: 10.81 kB / 0.5634 GB, free: 36.84 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.44, allocations: 143.7 kB / 0.5635 GB, free: 36.77 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.4421, allocations: 0.5692 MB / 0.5641 GB, free: 36.39 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.001395/0.4435, allocations: 495.9 kB / 0.5645 GB, free: 36.14 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001886/0.4454, allocations: 1.139 MB / 0.5657 GB, free: 35.56 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004535/0.4458, allocations: 215.6 kB / 0.5659 GB, free: 35.46 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007642/0.4466, allocations: 463.2 kB / 0.5663 GB, free: 35.25 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007295/0.4474, allocations: 0.5707 MB / 0.5669 GB, free: 35 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.4475, allocations: 50.92 kB / 0.5669 GB, free: 35 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005393/0.448, allocations: 169.1 kB / 0.5671 GB, free: 34.96 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.4482, allocations: 188.5 kB / 0.5673 GB, free: 34.85 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.4484, allocations: 199.5 kB / 0.5674 GB, free: 34.72 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.4494, allocations: 0.9934 MB / 0.5684 GB, free: 34.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4494, allocations: 1.344 kB / 0.5684 GB, free: 34.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4494, allocations: 0 / 0.5684 GB, free: 34.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.4494, allocations: 0 / 0.5684 GB, free: 34.41 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007196/0.4566, allocations: 2.204 MB / 0.5706 GB, free: 33.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4567, allocations: 8.812 kB / 0.5706 GB, free: 33.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00492/0.4616, allocations: 0.7762 MB / 0.5713 GB, free: 33.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.463, allocations: 0.6666 MB / 0.572 GB, free: 32.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.4633, allocations: 258.2 kB / 0.5722 GB, free: 32.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.4634, allocations: 72.67 kB / 0.5723 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.4654, allocations: 1.035 MB / 0.5733 GB, free: 32.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4654, allocations: 2.625 kB / 0.5733 GB, free: 32.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-05/0.4655, allocations: 25.31 kB / 0.5733 GB, free: 32.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.4655, allocations: 17.92 kB / 0.5734 GB, free: 32.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.4676, allocations: 1.059 MB / 0.5744 GB, free: 31.88 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.005475/0.4731, allocations: 3.244 MB / 0.5776 GB, free: 30.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.4751, allocations: 1.383 MB / 0.5789 GB, free: 29.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.4765, allocations: 0.7733 MB / 0.5797 GB, free: 28.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.09e-05/0.4766, allocations: 16.86 kB / 0.5797 GB, free: 28.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.4766, allocations: 42.44 kB / 0.5797 GB, free: 28.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=83): time 3.306e-06/0.4766, allocations: 0 / 0.5797 GB, free: 28.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.02733/0.5039, allocations: 8.027 MB / 0.5876 GB, free: 27.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.504, allocations: 61.34 kB / 0.5876 GB, free: 27.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.5051, allocations: 0.7796 MB / 0.5884 GB, free: 27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002317/0.5054, allocations: 50.97 kB / 0.5884 GB, free: 26.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.5057, allocations: 427.3 kB / 0.5888 GB, free: 26.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/0.506, allocations: 301.9 kB / 0.5891 GB, free: 26.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.5061, allocations: 20.66 kB / 0.5891 GB, free: 26.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.5062, allocations: 347.4 kB / 0.5895 GB, free: 26.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.5076, allocations: 0.735 MB / 0.5902 GB, free: 25.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.5093, allocations: 0.849 MB / 0.591 GB, free: 25.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.5111, allocations: 0.7871 MB / 0.5918 GB, free: 25.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.5111, allocations: 5.25 kB / 0.5918 GB, free: 25.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01547/0.5266, allocations: 5.026 MB / 0.5967 GB, free: 24.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.5267, allocations: 8.688 kB / 0.5967 GB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.5267, allocations: 1.156 kB / 0.5967 GB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007462/0.5341, allocations: 2.083 MB / 0.5987 GB, free: 23.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.5354, allocations: 186 kB / 0.5989 GB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/0.5592, allocations: 9.524 MB / 0.6082 GB, free: 19.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.561, allocations: 193.6 kB / 0.6084 GB, free: 19.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.5612, allocations: 36.34 kB / 0.6084 GB, free: 19.43 MB / 426.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 (99): * Single equations (assignments): 98 * 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.0005589/0.5618, allocations: 232.3 kB / 0.6087 GB, free: 19.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.562, allocations: 103.2 kB / 0.6088 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/0.5764, allocations: 4.723 MB / 0.6134 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.5765, allocations: 11.94 kB / 0.6134 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5765, allocations: 3.938 kB / 0.6134 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/0.5766, allocations: 3.984 kB / 0.6134 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.592, allocations: 6.285 MB / 0.6195 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.5921, allocations: 3.938 kB / 0.6195 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.5927, allocations: 103.8 kB / 0.6196 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005881/0.5985, allocations: 2.054 MB / 0.6216 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/0.5987, allocations: 16 kB / 0.6217 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/0.6154, allocations: 8.19 MB / 0.6297 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6154, allocations: 0 / 0.6297 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/0.632, allocations: 5.712 MB / 0.6352 GB, free: 8.992 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.6326, allocations: 191.6 kB / 0.6354 GB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.6327, allocations: 15.95 kB / 0.6354 GB, free: 8.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.6338, allocations: 131.9 kB / 0.6356 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006693/0.6344, allocations: 204.5 kB / 0.6358 GB, free: 8.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.189e-05/0.6345, allocations: 20 kB / 0.6358 GB, free: 8.418 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007252/0.6353, allocations: 0.5224 MB / 0.6363 GB, free: 7.898 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6353, allocations: 0 / 0.6363 GB, free: 7.898 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001455/0.6367, allocations: 411.5 kB / 0.6367 GB, free: 7.496 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 (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.0002929/0.637, allocations: 123.2 kB / 0.6368 GB, free: 7.367 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007508/0.6445, allocations: 2.589 MB / 0.6393 GB, free: 4.773 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.6446, allocations: 0 / 0.6393 GB, free: 4.773 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005848/0.6505, allocations: 1.689 MB / 0.641 GB, free: 3.066 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6516, allocations: 79.34 kB / 0.641 GB, free: 2.984 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.6555, allocations: 2.146 MB / 0.6431 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.6561, allocations: 1.033 MB / 0.6441 GB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.6563, allocations: 63.36 kB / 0.6442 GB, free: 15.69 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6564, allocations: 0 / 0.6442 GB, free: 15.69 MB / 458.7 MB Notification: Performance of Templates: time 0.02334/0.6797, allocations: 17.72 MB / 0.6615 GB, free: 13.96 MB / 474.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)