Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07978/0.07978, allocations: 12.2 MB / 27.17 MB, free: 1.926 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008077/0.0008078, allocations: 105.8 kB / 30.68 MB, free: 5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.4 MB / 239.5 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009696/0.0009696, allocations: 184.4 kB / 290.6 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4317/0.4317, allocations: 78.53 MB / 420.1 MB, free: 48.68 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 32 kB / 0.4895 GB, free: 2.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.403, allocations: 69.23 MB / 0.5571 GB, free: 43.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005989/0.4091, allocations: 5.39 MB / 0.5623 GB, free: 41.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.413, allocations: 1.647 MB / 0.5639 GB, free: 40.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.4143, allocations: 15.66 kB / 0.5639 GB, free: 40.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.415, allocations: 143.2 kB / 0.5641 GB, free: 40.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.4174, allocations: 0.5724 MB / 0.5646 GB, free: 40.06 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001364/0.4188, allocations: 498.5 kB / 0.5651 GB, free: 39.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.4207, allocations: 1.134 MB / 0.5662 GB, free: 39.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.4213, allocations: 219.2 kB / 0.5664 GB, free: 39.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.4223, allocations: 464.8 kB / 0.5669 GB, free: 38.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006385/0.423, allocations: 0.5656 MB / 0.5674 GB, free: 38.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.4231, allocations: 47.03 kB / 0.5675 GB, free: 38.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005215/0.4236, allocations: 175.3 kB / 0.5676 GB, free: 38.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.4238, allocations: 187.2 kB / 0.5678 GB, free: 38.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.4241, allocations: 200.3 kB / 0.568 GB, free: 38.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.4251, allocations: 0.9986 MB / 0.569 GB, free: 38.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4252, allocations: 0 / 0.569 GB, free: 38.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4252, allocations: 0 / 0.569 GB, free: 38.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.4252, allocations: 0 / 0.569 GB, free: 38.08 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.006554/0.4318, allocations: 2.205 MB / 0.5711 GB, free: 37.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4318, allocations: 12.2 kB / 0.5711 GB, free: 37.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/0.4366, allocations: 0.7749 MB / 0.5719 GB, free: 36.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.438, allocations: 0.6682 MB / 0.5726 GB, free: 36.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.4383, allocations: 256.7 kB / 0.5728 GB, free: 36.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.4384, allocations: 71.53 kB / 0.5729 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.4403, allocations: 1.03 MB / 0.5739 GB, free: 35.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4404, allocations: 0 / 0.5739 GB, free: 35.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.652e-05/0.4404, allocations: 23 kB / 0.5739 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.4405, allocations: 19.92 kB / 0.5739 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.4424, allocations: 1.061 MB / 0.575 GB, free: 35.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.005373/0.4478, allocations: 3.243 MB / 0.5781 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.4495, allocations: 1.382 MB / 0.5795 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.4508, allocations: 0.7776 MB / 0.5802 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.4509, allocations: 15.72 kB / 0.5802 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.4509, allocations: 42.17 kB / 0.5803 GB, free: 32.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.347e-06/0.4509, allocations: 0 / 0.5803 GB, free: 32.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02265/0.4736, allocations: 8.031 MB / 0.5881 GB, free: 31.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.4737, allocations: 62.67 kB / 0.5882 GB, free: 31.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.4749, allocations: 0.7806 MB / 0.5889 GB, free: 30.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002474/0.4751, allocations: 44.95 kB / 0.589 GB, free: 30.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.4754, allocations: 429.6 kB / 0.5894 GB, free: 30.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004282/0.4759, allocations: 309.2 kB / 0.5897 GB, free: 30.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.476, allocations: 19.19 kB / 0.5897 GB, free: 30.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.4761, allocations: 344.3 kB / 0.59 GB, free: 29.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.4777, allocations: 0.7335 MB / 0.5908 GB, free: 29.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.4793, allocations: 0.8604 MB / 0.5916 GB, free: 29.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.481, allocations: 0.7758 MB / 0.5924 GB, free: 28.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.481, allocations: 0 / 0.5924 GB, free: 28.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01321/0.4942, allocations: 5.035 MB / 0.5973 GB, free: 27.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.4943, allocations: 5.594 kB / 0.5973 GB, free: 27.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.4943, allocations: 2.953 kB / 0.5973 GB, free: 27.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006193/0.5005, allocations: 2.088 MB / 0.5993 GB, free: 27.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000924/0.5015, allocations: 181.9 kB / 0.5995 GB, free: 27.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02059/0.5221, allocations: 9.526 MB / 0.6088 GB, free: 22.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.5235, allocations: 186.1 kB / 0.609 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.5237, allocations: 35.98 kB / 0.609 GB, free: 22.67 MB / 430.1 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.0004866/0.5242, allocations: 234 kB / 0.6092 GB, free: 22.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.5244, allocations: 106.7 kB / 0.6093 GB, free: 22.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.5357, allocations: 4.72 MB / 0.6139 GB, free: 17.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.5358, allocations: 12 kB / 0.614 GB, free: 17.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5358, allocations: 0 / 0.614 GB, free: 17.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/0.5359, allocations: 11.92 kB / 0.614 GB, free: 17.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.5499, allocations: 6.276 MB / 0.6201 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.55, allocations: 0 / 0.6201 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005424/0.5505, allocations: 99.88 kB / 0.6202 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005339/0.5559, allocations: 2.058 MB / 0.6222 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/0.5562, allocations: 16 kB / 0.6222 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/0.5717, allocations: 8.189 MB / 0.6302 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5717, allocations: 4 kB / 0.6302 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/0.5866, allocations: 5.723 MB / 0.6358 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.5871, allocations: 187.7 kB / 0.636 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.5874, allocations: 15.98 kB / 0.636 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009812/0.5884, allocations: 131.8 kB / 0.6361 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006371/0.589, allocations: 204.6 kB / 0.6363 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.389e-05/0.5891, allocations: 16 kB / 0.6363 GB, free: 10.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007535/0.5899, allocations: 0.5302 MB / 0.6369 GB, free: 9.805 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5899, allocations: 3.938 kB / 0.6369 GB, free: 9.801 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001547/0.5915, allocations: 407.6 kB / 0.6372 GB, free: 9.402 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 (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.0002813/0.5917, allocations: 131.1 kB / 0.6374 GB, free: 9.262 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007113/0.5989, allocations: 2.584 MB / 0.6399 GB, free: 6.672 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5989, allocations: 0 / 0.6399 GB, free: 6.672 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00532/0.6042, allocations: 1.701 MB / 0.6416 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.6055, allocations: 79.34 kB / 0.6416 GB, free: 4.883 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.6091, allocations: 2.102 MB / 0.6437 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000688/0.6098, allocations: 1.037 MB / 0.6447 GB, free: 1.695 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003726/0.6102, allocations: 78.3 kB / 0.6448 GB, free: 1.617 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.6104, allocations: 59.42 kB / 0.6448 GB, free: 1.559 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.6104, allocations: 0 / 0.6448 GB, free: 1.559 MB / 446.1 MB Notification: Performance of Templates: time 0.03156/0.642, allocations: 19.08 MB / 0.6635 GB, free: 14.49 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) Environment - environmentSimulation: