Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(iPSL.Examples.Machines.PSAT.Order5_2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2") translateModel(iPSL.Examples.Machines.PSAT.Order5_2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001302/0.001302, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.326/1.326, allocations: 170.7 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001547/0.001547, allocations: 103.5 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.2108/0.2108, allocations: 50.08 MB / 307.2 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.27e-05/1.272e-05, allocations: 0 / 363.9 MB, free: 24.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09329/0.09331, allocations: 50.52 MB / 414.4 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3624/0.4557, allocations: 74.8 MB / 489.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.456, allocations: 66.84 kB / 489.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03645/0.4925, allocations: 14.71 MB / 0.4922 GB, free: 6.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4926, allocations: 0 / 0.4922 GB, free: 6.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.586e-05/0.4926, allocations: 14.75 kB / 0.4922 GB, free: 6.773 MB / 330.7 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.00391/0.4965, allocations: 1.383 MB / 0.4935 GB, free: 5.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4966, allocations: 7.812 kB / 0.4935 GB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002793/0.4994, allocations: 478.9 kB / 0.494 GB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.5006, allocations: 0.576 MB / 0.4946 GB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.5009, allocations: 201.5 kB / 0.4948 GB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.5011, allocations: 41.34 kB / 0.4948 GB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001345/0.5024, allocations: 0.7361 MB / 0.4955 GB, free: 5.223 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.5037, allocations: 0.7023 MB / 0.4962 GB, free: 5.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.5037, allocations: 3.953 kB / 0.4962 GB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.5038, allocations: 3.938 kB / 0.4962 GB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.5038, allocations: 19.25 kB / 0.4962 GB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004854/0.5087, allocations: 3.13 MB / 0.4993 GB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.5097, allocations: 0.6417 MB / 0.4999 GB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000638/0.5104, allocations: 0.5033 MB / 0.5004 GB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.5105, allocations: 8.469 kB / 0.5004 GB, free: 3.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.5106, allocations: 46.33 kB / 0.5005 GB, free: 3.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.635e-06/0.5106, allocations: 4 kB / 0.5005 GB, free: 3.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.0111/0.5217, allocations: 3.904 MB / 0.5043 GB, free: 2.191 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.5217, allocations: 67.8 kB / 0.5043 GB, free: 2.117 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.5229, allocations: 0.4957 MB / 0.5048 GB, free: 1.973 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003658/0.5233, allocations: 25.7 kB / 0.5048 GB, free: 1.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.5236, allocations: 355.8 kB / 0.5052 GB, free: 1.742 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000568/0.5242, allocations: 265.3 kB / 0.5054 GB, free: 1.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.517e-05/0.5243, allocations: 0 / 0.5054 GB, free: 1.543 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5245, allocations: 376.3 kB / 0.5058 GB, free: 1.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007448/0.5252, allocations: 399.9 kB / 0.5062 GB, free: 1.207 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/0.526, allocations: 494.8 kB / 0.5066 GB, free: 1.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009788/0.527, allocations: 471.1 kB / 0.5071 GB, free: 1.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.527, allocations: 0 / 0.5071 GB, free: 1.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01213/0.5391, allocations: 3.996 MB / 0.511 GB, free: 13.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.5392, allocations: 4 kB / 0.511 GB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.5392, allocations: 4 kB / 0.511 GB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005459/0.5447, allocations: 1.718 MB / 0.5127 GB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.5453, allocations: 87.59 kB / 0.5128 GB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/0.5593, allocations: 7.012 MB / 0.5196 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.5606, allocations: 147.1 kB / 0.5198 GB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.5607, allocations: 20 kB / 0.5198 GB, free: 6.746 MB / 346.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.e2d:VARIABLE(start = order5Type2_Inputs_Outputs.e2d0 ) "d-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 ) "q-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_Inputs_Outputs.e1q0 ) "q-axis transient voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pwLine1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine2.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine2.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLinewithOpening1.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLinewithOpening1.is.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine4.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine4.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine4.is.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine4.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine2.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine1.is.re:VARIABLE() "Real part of complex number" type: Real pwLine3.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.ir.re:VARIABLE() "Real part of complex number" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {27 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003933/0.5612, allocations: 144.8 kB / 0.5199 GB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.5614, allocations: 67.16 kB / 0.52 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.5734, allocations: 4.032 MB / 0.5239 GB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.5735, allocations: 8 kB / 0.5239 GB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.5735, allocations: 0 / 0.5239 GB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.747e-05/0.5735, allocations: 3.984 kB / 0.5239 GB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.5751, allocations: 0.9655 MB / 0.5249 GB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5751, allocations: 0 / 0.5249 GB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.5757, allocations: 75.91 kB / 0.5249 GB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005045/0.5807, allocations: 1.632 MB / 0.5265 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.5809, allocations: 4 kB / 0.5265 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/0.5937, allocations: 6.167 MB / 0.5326 GB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.5938, allocations: 0 / 0.5326 GB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/0.6073, allocations: 4.706 MB / 0.5372 GB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.6076, allocations: 172 kB / 0.5373 GB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/0.6079, allocations: 11.94 kB / 0.5373 GB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6091, allocations: 95.92 kB / 0.5374 GB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005684/0.6096, allocations: 180.6 kB / 0.5376 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.639e-05/0.6097, allocations: 28 kB / 0.5376 GB, free: 4.258 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005666/0.6103, allocations: 394.9 kB / 0.538 GB, free: 3.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6103, allocations: 4 kB / 0.538 GB, free: 3.867 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001247/0.6116, allocations: 307.5 kB / 0.5383 GB, free: 3.566 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type2_Inputs_Outputs.delta,order5Type2_Inputs_Outputs.w,order5Type2_Inputs_Outputs.e1q,order5Type2_Inputs_Outputs.e2q,order5Type2_Inputs_Outputs.e2d) * Number of discrete variables: 0 () * Number of discrete 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 (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.0003074/0.6119, allocations: 123.1 kB / 0.5384 GB, free: 3.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005016/0.6169, allocations: 1.885 MB / 0.5403 GB, free: 1.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6169, allocations: 0 / 0.5403 GB, free: 1.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004055/0.621, allocations: 1.399 MB / 0.5416 GB, free: 136 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.6216, allocations: 43.53 kB / 0.5417 GB, free: 92 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.6241, allocations: 1.129 MB / 0.5428 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.6246, allocations: 0.9856 MB / 0.5437 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000334/0.625, allocations: 56.88 kB / 0.5438 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.6252, allocations: 51.42 kB / 0.5438 GB, free: 13.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6252, allocations: 0 / 0.5438 GB, free: 13.82 MB / 378.7 MB Notification: Performance of Templates: time 0.02732/0.6525, allocations: 17.22 MB / 0.5606 GB, free: 12.6 MB / 394.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.pipe 2>&1)