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.000918/0.000918, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.00107/0.00107, allocations: 177.3 kB / 15.95 MB, free: 216 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.324/1.324, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3422/0.3422, allocations: 50.18 MB / 320.6 MB, free: 3.34 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.00069/0.0006901, allocations: 23.03 kB / 390.4 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1041, allocations: 59.31 MB / 449.7 MB, free: 5.453 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2): time 0.002302/0.1064, allocations: 1.942 MB / 451.6 MB, free: 3.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.1094, allocations: 1.987 MB / 453.6 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003886/0.1098, allocations: 8 kB / 453.6 MB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.1101, allocations: 67.39 kB / 453.7 MB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005583/0.1107, allocations: 167.4 kB / 453.8 MB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.1122, allocations: 0.627 MB / 454.5 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009683/0.1132, allocations: 483 kB / 454.9 MB, free: 172 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1752/0.2884, allocations: 194.3 kB / 455.1 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.2889, allocations: 337.5 kB / 455.5 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004564/0.2894, allocations: 479.5 kB / 455.9 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.171e-05/0.2895, allocations: 44.31 kB / 456 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.2897, allocations: 120.3 kB / 456.1 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.2898, allocations: 170.5 kB / 456.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2899, allocations: 138.6 kB / 456.4 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.2905, allocations: 0.7641 MB / 457.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.2906, allocations: 2.406 kB / 457.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2906, allocations: 0 / 457.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.2906, allocations: 0 / 457.2 MB, free: 38.86 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.005301/0.2959, allocations: 1.869 MB / 459 MB, free: 38.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2959, allocations: 8.562 kB / 459 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003884/0.2998, allocations: 0.6593 MB / 459.7 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006881/0.3005, allocations: 0.5632 MB / 460.3 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.3007, allocations: 222.7 kB / 460.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3008, allocations: 65.5 kB / 460.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.3024, allocations: 0.9773 MB / 461.5 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3024, allocations: 0 / 461.5 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/0.3025, allocations: 31.19 kB / 461.5 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.3025, allocations: 15.94 kB / 461.6 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.3041, allocations: 0.972 MB / 462.5 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004214/0.3083, allocations: 3.133 MB / 465.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.3099, allocations: 0.8486 MB / 466.5 MB, free: 36.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.228e-05/0.31, allocations: 15.59 kB / 466.5 MB, free: 36.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.31, allocations: 39.31 kB / 466.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.385e-06/0.31, allocations: 5.422 kB / 466.6 MB, free: 36.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.0233/0.3333, allocations: 7.772 MB / 474.3 MB, free: 35.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.3334, allocations: 61.91 kB / 474.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.334, allocations: 0.576 MB / 475 MB, free: 35.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.3341, allocations: 36.8 kB / 475 MB, free: 35.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.3343, allocations: 343.4 kB / 475.3 MB, free: 35.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.3345, allocations: 270.6 kB / 475.6 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.3346, allocations: 11.06 kB / 475.6 MB, free: 35.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.3346, allocations: 379.7 kB / 476 MB, free: 34.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.3357, allocations: 0.5901 MB / 476.6 MB, free: 34.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.337, allocations: 0.6824 MB / 477.3 MB, free: 34.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.3382, allocations: 0.6311 MB / 477.9 MB, free: 34.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.3382, allocations: 1.406 kB / 477.9 MB, free: 34.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.01318/0.3514, allocations: 4.594 MB / 482.5 MB, free: 33.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.3515, allocations: 6.609 kB / 482.5 MB, free: 33.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.3515, allocations: 6.828 kB / 482.5 MB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006786/0.3583, allocations: 2.12 MB / 484.6 MB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.3588, allocations: 91.33 kB / 484.7 MB, free: 32.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02401/0.3829, allocations: 9.953 MB / 494.7 MB, free: 28.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.3841, allocations: 157.5 kB / 494.8 MB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.3842, allocations: 23.53 kB / 494.8 MB, free: 28.45 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.0004195/0.3846, allocations: 210.7 kB / 495.1 MB, free: 28.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.3848, allocations: 69.78 kB / 495.1 MB, free: 28.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.3977, allocations: 4.631 MB / 499.8 MB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.3977, allocations: 17.05 kB / 499.8 MB, free: 26.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3977, allocations: 3.953 kB / 499.8 MB, free: 26.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.3978, allocations: 5.297 kB / 499.8 MB, free: 26.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.3989, allocations: 1.021 MB / 0.4891 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3989, allocations: 3.938 kB / 0.4891 GB, free: 26.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.3994, allocations: 76.23 kB / 0.4891 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005507/0.4049, allocations: 2.03 MB / 0.4911 GB, free: 24.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.944e-05/0.405, allocations: 16 kB / 0.4911 GB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01622/0.4212, allocations: 8.617 MB / 0.4996 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4213, allocations: 3.953 kB / 0.4996 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/0.4345, allocations: 5.507 MB / 0.5049 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.4348, allocations: 164.1 kB / 0.5051 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.435, allocations: 12 kB / 0.5051 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009067/0.436, allocations: 119.8 kB / 0.5052 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004947/0.4365, allocations: 189.3 kB / 0.5054 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.028e-05/0.4365, allocations: 16 kB / 0.5054 GB, free: 9.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004376/0.437, allocations: 406.8 kB / 0.5058 GB, free: 9.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.437, allocations: 0.75 kB / 0.5058 GB, free: 9.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001201/0.4382, allocations: 335.5 kB / 0.5061 GB, free: 8.816 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.0002187/0.4384, allocations: 123.2 kB / 0.5062 GB, free: 8.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005712/0.4441, allocations: 2.351 MB / 0.5085 GB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4442, allocations: 0 / 0.5085 GB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004103/0.4483, allocations: 1.649 MB / 0.5101 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.4488, allocations: 58.25 kB / 0.5102 GB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.451, allocations: 1.737 MB / 0.5119 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.4514, allocations: 0.993 MB / 0.5129 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.4516, allocations: 54 kB / 0.5129 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.4518, allocations: 51.42 kB / 0.513 GB, free: 1.746 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4518, allocations: 0 / 0.513 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Templates: time 0.02591/0.4777, allocations: 18.02 MB / 0.5306 GB, free: 15.73 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: