Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.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/Complex 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/iPSL 1.1.1/package.mo", uses=false) Using package iPSL with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(iPSL.Examples.Machines.PSAT.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") translateModel(iPSL.Examples.Machines.PSAT.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 191.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.4369/0.4369, allocations: 50.19 MB / 319.6 MB, free: 2.523 MB / 254.1 MB 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: iPSL requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: iPSL requested package Complex of version 3.2.1. 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.001861/0.001862, allocations: 87.81 kB / 388.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1376, allocations: 58.22 MB / 446.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_1test2): time 0.003882/0.1416, allocations: 2.439 MB / 449.4 MB, free: 4.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.1452, allocations: 2.088 MB / 451.5 MB, free: 2.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.1455, allocations: 12 kB / 451.5 MB, free: 2.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.146, allocations: 91.33 kB / 451.6 MB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.1464, allocations: 167.2 kB / 451.7 MB, free: 2.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.1481, allocations: 0.6933 MB / 452.4 MB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000796/0.1489, allocations: 0.8538 MB / 453.3 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003973/0.1493, allocations: 262.4 kB / 453.5 MB, free: 256 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2915/0.4408, allocations: 418.9 kB / 453.9 MB, free: 40.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007581/0.4416, allocations: 0.5639 MB / 454.5 MB, free: 40.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.4418, allocations: 85.62 kB / 454.6 MB, free: 40.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.4421, allocations: 189.5 kB / 454.8 MB, free: 40.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.4423, allocations: 229.6 kB / 455 MB, free: 40.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.4426, allocations: 424.3 kB / 455.4 MB, free: 40.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009947/0.4436, allocations: 1.086 MB / 456.5 MB, free: 40.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4437, allocations: 0 / 456.5 MB, free: 40.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4437, allocations: 0 / 456.5 MB, free: 40.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.4437, allocations: 0 / 456.5 MB, free: 40.02 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006601/0.4503, allocations: 2.008 MB / 458.5 MB, free: 39.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.4504, allocations: 16.89 kB / 458.5 MB, free: 39.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00413/0.4545, allocations: 0.6519 MB / 459.2 MB, free: 39.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/0.4554, allocations: 0.5892 MB / 459.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.4556, allocations: 216.5 kB / 460 MB, free: 38.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.4557, allocations: 66.81 kB / 460 MB, free: 38.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.4578, allocations: 0.9422 MB / 461 MB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.4578, allocations: 0 / 461 MB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.953e-05/0.4579, allocations: 28.53 kB / 461 MB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.4579, allocations: 16.62 kB / 461 MB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.4596, allocations: 0.9211 MB / 462 MB, free: 38.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004638/0.4643, allocations: 3.12 MB / 465.1 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.4659, allocations: 0.8045 MB / 465.9 MB, free: 37.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.467, allocations: 0.6623 MB / 466.5 MB, free: 36.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.4671, allocations: 14.39 kB / 466.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4672, allocations: 46.88 kB / 466.6 MB, free: 36.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.915e-06/0.4672, allocations: 0 / 466.6 MB, free: 36.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.02297/0.4902, allocations: 6.262 MB / 472.9 MB, free: 35.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.4903, allocations: 64.22 kB / 472.9 MB, free: 35.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.4913, allocations: 0.5815 MB / 473.5 MB, free: 35.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003009/0.4916, allocations: 40.58 kB / 473.5 MB, free: 35.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.4918, allocations: 348.1 kB / 473.9 MB, free: 34.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/0.4922, allocations: 268.7 kB / 474.1 MB, free: 34.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/0.4925, allocations: 128.8 kB / 474.3 MB, free: 34.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4926, allocations: 381 kB / 474.6 MB, free: 34.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.4938, allocations: 0.5406 MB / 475.2 MB, free: 34.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.495, allocations: 0.6335 MB / 475.8 MB, free: 33.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01662/0.5117, allocations: 3.859 MB / 479.7 MB, free: 32.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.5117, allocations: 2.469 kB / 479.7 MB, free: 32.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01352/0.5253, allocations: 3.702 MB / 483.4 MB, free: 31.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.5254, allocations: 6.469 kB / 483.4 MB, free: 31.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.5254, allocations: 1.719 kB / 483.4 MB, free: 31.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006421/0.5318, allocations: 1.704 MB / 485.1 MB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.5326, allocations: 97.44 kB / 485.2 MB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/0.5543, allocations: 9.176 MB / 494.4 MB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.5557, allocations: 127.2 kB / 494.5 MB, free: 27.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.534e-05/0.5558, allocations: 26.78 kB / 494.5 MB, free: 27.04 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.delta:VARIABLE(flow=false start = order5Type1_Inputs_Outputs.delta0 fixed = true ) "Rotor angle (deg)" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_Inputs_Outputs.e1q0 fixed = true ) "q-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 fixed = true ) "d-axis transient voltage" type: Real 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 (60): * Single equations (assignments): 59 * 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 {(25,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004492/0.5562, allocations: 212.9 kB / 494.7 MB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.5564, allocations: 72.31 kB / 494.8 MB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.5686, allocations: 3.757 MB / 498.6 MB, free: 24.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/0.5687, allocations: 13.91 kB / 498.6 MB, free: 24.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5687, allocations: 0 / 498.6 MB, free: 24.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.342e-05/0.5687, allocations: 5.328 kB / 498.6 MB, free: 24.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.5705, allocations: 1.031 MB / 499.6 MB, free: 24.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.5705, allocations: 5.406 kB / 499.6 MB, free: 24.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.5711, allocations: 78.41 kB / 499.7 MB, free: 24.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005418/0.5765, allocations: 1.718 MB / 0.4896 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/0.5767, allocations: 16.81 kB / 0.4897 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/0.5934, allocations: 8.049 MB / 0.4975 GB, free: 16.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5935, allocations: 4 kB / 0.4975 GB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/0.6059, allocations: 4.567 MB / 0.502 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.6062, allocations: 168.1 kB / 0.5021 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.6064, allocations: 12 kB / 0.5022 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008859/0.6073, allocations: 87.81 kB / 0.5022 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006131/0.6079, allocations: 189.9 kB / 0.5024 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/0.608, allocations: 27.45 kB / 0.5025 GB, free: 11.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005163/0.6085, allocations: 418.8 kB / 0.5029 GB, free: 11.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6085, allocations: 4.781 kB / 0.5029 GB, free: 11.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001339/0.6098, allocations: 331.5 kB / 0.5032 GB, free: 10.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * 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 (49): * Single equations (assignments): 48 * 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.0002781/0.6101, allocations: 130.4 kB / 0.5033 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005607/0.6157, allocations: 2.118 MB / 0.5054 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6158, allocations: 0 / 0.5054 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003924/0.6197, allocations: 1.494 MB / 0.5068 GB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.6205, allocations: 66.3 kB / 0.5069 GB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.6233, allocations: 1.818 MB / 0.5087 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.6237, allocations: 0.962 MB / 0.5096 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002787/0.624, allocations: 63.22 kB / 0.5097 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.6242, allocations: 51.42 kB / 0.5097 GB, free: 4.191 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.6242, allocations: 0 / 0.5097 GB, free: 4.191 MB / 382.1 MB Notification: Performance of Templates: time 0.0329/0.6571, allocations: 20.38 MB / 0.5296 GB, free: 15.86 MB / 414.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe 2>&1)