Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006038/0.006038, allocations: 171.2 kB / 15.12 MB, free: 5.559 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.316/1.316, allocations: 223.2 MB / 239 MB, free: 1.75 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.000842/0.000842, allocations: 89.39 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4344/0.4344, allocations: 78.58 MB / 419.9 MB, free: 44.29 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 8 kB / 499.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3334, allocations: 69.34 MB / 0.5558 GB, free: 38.83 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.00503/0.3385, allocations: 5.573 MB / 0.5612 GB, free: 37.89 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00382/0.3423, allocations: 1.924 MB / 0.5631 GB, free: 36.53 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009447/0.3433, allocations: 12.38 kB / 0.5631 GB, free: 36.53 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.344, allocations: 168.9 kB / 0.5633 GB, free: 36.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.3458, allocations: 0.654 MB / 0.5639 GB, free: 36.02 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.001355/0.3471, allocations: 0.5622 MB / 0.5644 GB, free: 35.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.3485, allocations: 0.9307 MB / 0.5654 GB, free: 35.22 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/0.349, allocations: 255.9 kB / 0.5656 GB, free: 35.1 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008295/0.3498, allocations: 0.5132 MB / 0.5661 GB, free: 34.87 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007796/0.3506, allocations: 0.6227 MB / 0.5667 GB, free: 34.59 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.3507, allocations: 50.78 kB / 0.5668 GB, free: 34.59 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.3512, allocations: 160.6 kB / 0.5669 GB, free: 34.56 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.3514, allocations: 224.5 kB / 0.5671 GB, free: 34.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.3516, allocations: 218.2 kB / 0.5673 GB, free: 34.29 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009386/0.3526, allocations: 1.092 MB / 0.5684 GB, free: 33.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.3526, allocations: 0 / 0.5684 GB, free: 33.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3526, allocations: 0 / 0.5684 GB, free: 33.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.3526, allocations: 0 / 0.5684 GB, free: 33.95 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.007257/0.3599, allocations: 2.37 MB / 0.5707 GB, free: 32.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3599, allocations: 8.531 kB / 0.5707 GB, free: 32.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/0.3647, allocations: 0.786 MB / 0.5715 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.3662, allocations: 0.7726 MB / 0.5722 GB, free: 32.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.3665, allocations: 264.7 kB / 0.5725 GB, free: 32.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.3666, allocations: 77.94 kB / 0.5726 GB, free: 32.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.3687, allocations: 1.189 MB / 0.5737 GB, free: 31.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3688, allocations: 0 / 0.5737 GB, free: 31.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.003e-05/0.3688, allocations: 41.39 kB / 0.5738 GB, free: 31.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.3689, allocations: 19.12 kB / 0.5738 GB, free: 31.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.371, allocations: 1.161 MB / 0.5749 GB, free: 31.2 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.005394/0.3764, allocations: 3.622 MB / 0.5785 GB, free: 29.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.3784, allocations: 1.53 MB / 0.58 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.706e-05/0.3786, allocations: 13.83 kB / 0.58 GB, free: 28.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3786, allocations: 46.56 kB / 0.58 GB, free: 28.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 2.715e-06/0.3786, allocations: 2.938 kB / 0.58 GB, free: 28.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02505/0.4036, allocations: 8.011 MB / 0.5878 GB, free: 26.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.4037, allocations: 86.23 kB / 0.5879 GB, free: 26.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.405, allocations: 0.9285 MB / 0.5888 GB, free: 26.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.4052, allocations: 48.11 kB / 0.5889 GB, free: 26.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.4055, allocations: 486.6 kB / 0.5893 GB, free: 25.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.4057, allocations: 323.6 kB / 0.5896 GB, free: 25.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.4058, allocations: 21.88 kB / 0.5897 GB, free: 25.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.4059, allocations: 348.8 kB / 0.59 GB, free: 25.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.4075, allocations: 0.7806 MB / 0.5908 GB, free: 24.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.4092, allocations: 0.9006 MB / 0.5916 GB, free: 24.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.4109, allocations: 0.8283 MB / 0.5924 GB, free: 24.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4109, allocations: 0 / 0.5924 GB, free: 24.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01523/0.4261, allocations: 5.134 MB / 0.5975 GB, free: 23.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.4264, allocations: 0.7923 MB / 0.5982 GB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.4264, allocations: 2.125 kB / 0.5982 GB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006834/0.4333, allocations: 2.102 MB / 0.6003 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.4344, allocations: 202.3 kB / 0.6005 GB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/0.4567, allocations: 9.98 MB / 0.6102 GB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.4585, allocations: 225 kB / 0.6104 GB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.494e-05/0.4586, allocations: 35.61 kB / 0.6105 GB, free: 17.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.4586, allocations: 4 kB / 0.6105 GB, free: 17.17 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0136/0.4722, allocations: 4.975 MB / 0.6153 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.4723, allocations: 0 / 0.6153 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005867/0.4781, allocations: 2.101 MB / 0.6174 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.4793, allocations: 199.7 kB / 0.6176 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.4981, allocations: 9.943 MB / 0.6273 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.4996, allocations: 211.1 kB / 0.6275 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.4997, allocations: 32 kB / 0.6275 GB, free: 236 kB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (109): * Single equations (assignments): 108 * 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.0005932/0.5003, allocations: 328.9 kB / 0.6278 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.5006, allocations: 118.5 kB / 0.628 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/0.5144, allocations: 4.86 MB / 0.6327 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.5144, allocations: 8 kB / 0.6327 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5144, allocations: 0 / 0.6327 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.557e-05/0.5145, allocations: 11.97 kB / 0.6327 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.5317, allocations: 6.473 MB / 0.639 GB, free: 4.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.5318, allocations: 0 / 0.639 GB, free: 4.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007688/0.5326, allocations: 111.9 kB / 0.6391 GB, free: 4.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006095/0.5387, allocations: 2.046 MB / 0.6411 GB, free: 2.117 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/0.5389, allocations: 19.98 kB / 0.6412 GB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0188/0.5577, allocations: 8.643 MB / 0.6496 GB, free: 9.309 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5577, allocations: 7.984 kB / 0.6496 GB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/0.5737, allocations: 5.841 MB / 0.6553 GB, free: 3.434 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.5742, allocations: 207.4 kB / 0.6555 GB, free: 3.211 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.5744, allocations: 19.95 kB / 0.6555 GB, free: 3.191 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.5756, allocations: 155.9 kB / 0.6557 GB, free: 3.039 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005408/0.5761, allocations: 200.8 kB / 0.6559 GB, free: 2.844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/0.5762, allocations: 24 kB / 0.6559 GB, free: 2.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009012/0.5771, allocations: 0.6352 MB / 0.6565 GB, free: 2.176 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5771, allocations: 0 / 0.6565 GB, free: 2.176 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001952/0.5791, allocations: 0.7022 MB / 0.6572 GB, free: 1.473 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (57): * Single equations (assignments): 56 * 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.000252/0.5793, allocations: 131.1 kB / 0.6573 GB, free: 1.336 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01193/0.5913, allocations: 4.616 MB / 0.6618 GB, free: 12.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5913, allocations: 0.5 kB / 0.6618 GB, free: 12.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004796/0.5961, allocations: 1.739 MB / 0.6635 GB, free: 10.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000793/0.5969, allocations: 78.73 kB / 0.6636 GB, free: 10.87 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.6012, allocations: 2.541 MB / 0.6661 GB, free: 8.309 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.6019, allocations: 1.125 MB / 0.6672 GB, free: 7.152 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005366/0.6024, allocations: 118.9 kB / 0.6673 GB, free: 7.031 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.6026, allocations: 67.42 kB / 0.6674 GB, free: 6.965 MB / 474.7 MB Notification: Performance of SimCode: time 6.62e-07/0.6026, allocations: 0 / 0.6674 GB, free: 6.965 MB / 474.7 MB Notification: Performance of Templates: time 0.03951/0.6421, allocations: 27.2 MB / 0.6939 GB, free: 11.78 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)