Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2.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.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2") translateModel(iPSL.Examples.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 84.38 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.001176/0.001176, 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.715/1.715, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.364/0.364, allocations: 50.2 MB / 320.6 MB, free: 3.328 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.0006954/0.0006955, allocations: 30.75 kB / 390.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1267, allocations: 59.31 MB / 449.7 MB, free: 5.418 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2): time 0.002453/0.1291, allocations: 1.916 MB / 451.6 MB, free: 3.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.1323, allocations: 1.987 MB / 453.6 MB, free: 1.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.1326, allocations: 12 kB / 453.6 MB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.1328, allocations: 67.36 kB / 453.7 MB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.1332, allocations: 147.2 kB / 453.9 MB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.1346, allocations: 0.6382 MB / 454.5 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2577/0.3923, allocations: 0.7166 MB / 455.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005879/0.393, allocations: 202.6 kB / 455.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000589/0.3935, allocations: 335 kB / 455.7 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000539/0.3941, allocations: 494 kB / 456.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.957e-05/0.3942, allocations: 43.78 kB / 456.3 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.3945, allocations: 127.7 kB / 456.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.3947, allocations: 173.8 kB / 456.6 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.3948, allocations: 136.6 kB / 456.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006448/0.3954, allocations: 0.8043 MB / 457.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.3954, allocations: 0 / 457.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3955, allocations: 0 / 457.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.3955, allocations: 0 / 457.5 MB, free: 38.26 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.005154/0.4006, allocations: 1.875 MB / 459.4 MB, free: 37.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4007, allocations: 9 kB / 459.4 MB, free: 37.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003797/0.4045, allocations: 0.6626 MB / 460 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/0.4053, allocations: 0.5499 MB / 460.6 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.4055, allocations: 224.3 kB / 460.8 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.4056, allocations: 64.38 kB / 460.9 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.4072, allocations: 0.9861 MB / 461.9 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.4073, allocations: 0 / 461.9 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/0.4074, allocations: 32.62 kB / 461.9 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.4074, allocations: 14.5 kB / 461.9 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.409, allocations: 0.9714 MB / 462.9 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004199/0.4132, allocations: 3.132 MB / 466 MB, free: 36.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.4147, allocations: 0.8528 MB / 466.9 MB, free: 36.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.4159, allocations: 0.7144 MB / 467.6 MB, free: 36.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.416, allocations: 11.31 kB / 467.6 MB, free: 36.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.416, allocations: 40.84 kB / 467.6 MB, free: 36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.896e-06/0.416, allocations: 0.75 kB / 467.6 MB, free: 36 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.02175/0.4378, allocations: 7.776 MB / 475.4 MB, free: 35.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.4379, allocations: 62.03 kB / 475.5 MB, free: 35.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009896/0.4389, allocations: 0.569 MB / 476 MB, free: 35.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.439, allocations: 39.92 kB / 476.1 MB, free: 35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.4393, allocations: 343.9 kB / 476.4 MB, free: 34.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.4396, allocations: 265.7 kB / 476.7 MB, free: 34.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.4396, allocations: 10.78 kB / 476.7 MB, free: 34.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4398, allocations: 382.6 kB / 477 MB, free: 34.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.441, allocations: 0.5903 MB / 477.6 MB, free: 33.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.4423, allocations: 0.6923 MB / 478.3 MB, free: 33.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.4436, allocations: 0.6266 MB / 479 MB, free: 33.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4436, allocations: 0 / 479 MB, free: 33.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.01396/0.4575, allocations: 4.593 MB / 483.5 MB, free: 32.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.4576, allocations: 11.58 kB / 483.6 MB, free: 32.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.4577, allocations: 2.359 kB / 483.6 MB, free: 32.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007075/0.4647, allocations: 2.128 MB / 485.7 MB, free: 32.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.4654, allocations: 85.38 kB / 485.8 MB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/0.4874, allocations: 9.485 MB / 495.3 MB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.4886, allocations: 160.8 kB / 495.4 MB, free: 28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.4887, allocations: 30.72 kB / 495.4 MB, free: 27.99 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 fixed = true ) "d-axis transient voltage (pu)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 fixed = true ) "q-axis transient voltage (pu)" 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 (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 {27 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003748/0.4891, allocations: 202.5 kB / 495.6 MB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.4893, allocations: 74.02 kB / 495.7 MB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.5018, allocations: 4.636 MB / 0.4886 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.5019, allocations: 12.19 kB / 0.4886 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5019, allocations: 3.953 kB / 0.4886 GB, free: 26.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/0.5019, allocations: 5.359 kB / 0.4886 GB, free: 26.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.5034, allocations: 1.022 MB / 0.4896 GB, free: 25.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5034, allocations: 0 / 0.4896 GB, free: 25.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.5038, allocations: 84.28 kB / 0.4897 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005072/0.5089, allocations: 2.025 MB / 0.4917 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.509, allocations: 23.11 kB / 0.4917 GB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/0.5239, allocations: 8.169 MB / 0.4997 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.524, allocations: 3.953 kB / 0.4997 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/0.5367, allocations: 5.497 MB / 0.5051 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.5372, allocations: 168.1 kB / 0.5052 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.5373, allocations: 16 kB / 0.5052 GB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008027/0.5382, allocations: 119.8 kB / 0.5054 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005366/0.5387, allocations: 187.9 kB / 0.5055 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.752e-05/0.5388, allocations: 24 kB / 0.5056 GB, free: 9.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004441/0.5392, allocations: 402.8 kB / 0.5059 GB, free: 8.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5392, allocations: 0 / 0.5059 GB, free: 8.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001223/0.5405, allocations: 331.5 kB / 0.5063 GB, free: 8.602 MB / 382.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 (48): * Single equations (assignments): 47 * 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.0002432/0.5407, allocations: 131.2 kB / 0.5064 GB, free: 8.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005365/0.5461, allocations: 2.345 MB / 0.5087 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5461, allocations: 0 / 0.5087 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00389/0.55, allocations: 1.653 MB / 0.5103 GB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.5507, allocations: 70.83 kB / 0.5104 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.5529, allocations: 1.694 MB / 0.512 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5532, allocations: 0.9619 MB / 0.513 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002479/0.5535, allocations: 60.81 kB / 0.513 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.5536, allocations: 47.42 kB / 0.5131 GB, free: 1.582 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5536, allocations: 4 kB / 0.5131 GB, free: 1.578 MB / 382.1 MB Notification: Performance of Templates: time 0.02734/0.581, allocations: 18.06 MB / 0.5307 GB, free: 15.54 MB / 414.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2.makefile Environment - environmentSimulation: (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order4test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order4test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order4test2.pipe 2>&1) Environment - environmentSimulation: