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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001811/0.00181, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.4 MB / 222.1 MB, free: 5.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3979/0.3979, allocations: 50.2 MB / 320.6 MB, free: 3.492 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.0007695/0.00077, allocations: 16 kB / 390.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.149, allocations: 59.32 MB / 449.7 MB, free: 5.398 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_2test2): time 0.002824/0.1519, allocations: 1.943 MB / 451.7 MB, free: 3.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.1555, allocations: 2.014 MB / 453.7 MB, free: 1.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006804/0.1562, allocations: 8 kB / 453.7 MB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.1566, allocations: 67.36 kB / 453.8 MB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005026/0.1571, allocations: 163.1 kB / 453.9 MB, free: 1.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.1587, allocations: 0.6461 MB / 454.6 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2601/0.4188, allocations: 0.7641 MB / 455.3 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005697/0.4194, allocations: 196.4 kB / 455.5 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000669/0.4201, allocations: 363.1 kB / 455.9 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007387/0.4209, allocations: 0.5018 MB / 456.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.421, allocations: 49.12 kB / 456.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005456/0.4216, allocations: 133.5 kB / 456.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.4218, allocations: 186.8 kB / 456.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.422, allocations: 132.1 kB / 456.9 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009503/0.4229, allocations: 0.841 MB / 457.7 MB, free: 38.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.4229, allocations: 3.188 kB / 457.7 MB, free: 38.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.423, allocations: 0.875 kB / 457.7 MB, free: 38.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.423, allocations: 0 / 457.7 MB, free: 38.07 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.006032/0.429, allocations: 1.935 MB / 459.6 MB, free: 37.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.4291, allocations: 8.625 kB / 459.7 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004038/0.4331, allocations: 0.6637 MB / 460.3 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009425/0.4341, allocations: 0.5811 MB / 460.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.4343, allocations: 229.8 kB / 461.1 MB, free: 36.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.4344, allocations: 67.97 kB / 461.2 MB, free: 36.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.4362, allocations: 0.9973 MB / 462.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.4362, allocations: 2.906 kB / 462.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-05/0.4363, allocations: 25.62 kB / 462.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.4363, allocations: 15.88 kB / 462.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.4382, allocations: 0.9763 MB / 463.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005617/0.4439, allocations: 3.208 MB / 466.4 MB, free: 35.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.4457, allocations: 0.8769 MB / 467.3 MB, free: 35.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.4469, allocations: 0.721 MB / 468 MB, free: 35.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.4471, allocations: 15.31 kB / 468 MB, free: 35.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.4471, allocations: 42.23 kB / 468.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.126e-06/0.4471, allocations: 4 kB / 468.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.02334/0.4705, allocations: 8.087 MB / 476.2 MB, free: 35.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.4706, allocations: 60.59 kB / 476.2 MB, free: 35.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.4717, allocations: 0.6062 MB / 476.8 MB, free: 34.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001949/0.4719, allocations: 42.09 kB / 476.9 MB, free: 34.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.4721, allocations: 352.3 kB / 477.2 MB, free: 34.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003761/0.4725, allocations: 271.9 kB / 477.5 MB, free: 34.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.4726, allocations: 15.06 kB / 477.5 MB, free: 34.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4728, allocations: 387.2 kB / 477.9 MB, free: 33.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.4741, allocations: 0.5944 MB / 478.5 MB, free: 33.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.4755, allocations: 0.6978 MB / 479.2 MB, free: 33.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.4769, allocations: 0.6364 MB / 479.8 MB, free: 33.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.4769, allocations: 0 / 479.8 MB, free: 33.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0138/0.4907, allocations: 4.624 MB / 484.4 MB, free: 32.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.4908, allocations: 5.969 kB / 484.4 MB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.4909, allocations: 3.062 kB / 484.4 MB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007626/0.4985, allocations: 2.109 MB / 486.5 MB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.4993, allocations: 95.12 kB / 486.6 MB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02765/0.527, allocations: 9.481 MB / 496.1 MB, free: 27.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.5284, allocations: 166 kB / 496.3 MB, free: 27.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.5287, allocations: 26.98 kB / 496.3 MB, free: 27.73 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.e2d:VARIABLE(start = order5Type2_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 fixed = true ) "q-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_Inputs_Outputs.e1q0 fixed = true ) "q-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 (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.0007035/0.5294, allocations: 208.9 kB / 496.5 MB, free: 27.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/0.5298, allocations: 74.48 kB / 496.6 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/0.5427, allocations: 4.68 MB / 0.4895 GB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.5428, allocations: 8.25 kB / 0.4895 GB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.5428, allocations: 4.5 kB / 0.4895 GB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/0.5428, allocations: 3.984 kB / 0.4895 GB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.5445, allocations: 1.048 MB / 0.4905 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.5445, allocations: 4 kB / 0.4906 GB, free: 24.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/0.545, allocations: 79.91 kB / 0.4906 GB, free: 24.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005166/0.5502, allocations: 2.034 MB / 0.4926 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.5504, allocations: 12 kB / 0.4926 GB, free: 22.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/0.5663, allocations: 8.179 MB / 0.5006 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5664, allocations: 0 / 0.5006 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/0.5792, allocations: 5.533 MB / 0.506 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.5797, allocations: 180 kB / 0.5062 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.58, allocations: 12 kB / 0.5062 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5811, allocations: 123.8 kB / 0.5063 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006277/0.5817, allocations: 180.7 kB / 0.5065 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.5818, allocations: 23.98 kB / 0.5065 GB, free: 8.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005954/0.5824, allocations: 434.8 kB / 0.5069 GB, free: 7.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5824, allocations: 0 / 0.5069 GB, free: 7.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001534/0.584, allocations: 339.5 kB / 0.5073 GB, free: 7.555 MB / 382.1 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 () * 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 (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.0003358/0.5843, allocations: 131.8 kB / 0.5074 GB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005871/0.5902, allocations: 2.377 MB / 0.5097 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.5902, allocations: 0 / 0.5097 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004004/0.5943, allocations: 1.664 MB / 0.5113 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009547/0.5952, allocations: 67.86 kB / 0.5114 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.5983, allocations: 1.764 MB / 0.5131 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.5988, allocations: 0.974 MB / 0.5141 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003357/0.5992, allocations: 60.91 kB / 0.5141 GB, free: 480 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.5993, allocations: 47.38 kB / 0.5142 GB, free: 432 kB / 382.1 MB Notification: Performance of SimCode: time 1.743e-06/0.5993, allocations: 0 / 0.5142 GB, free: 432 kB / 382.1 MB Notification: Performance of Templates: time 0.03415/0.6335, allocations: 18.52 MB / 0.5323 GB, free: 13.92 MB / 414.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: