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/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.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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003975/0.003975, allocations: 171.8 kB / 7.446 MB, free: 2.512 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.093/1.093, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001701/0.001701, allocations: 123.8 kB / 217.7 MB, free: 8.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.2152/0.2152, allocations: 49.89 MB / 306.7 MB, free: 13.59 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.162e-06, allocations: 0 / 363.2 MB, free: 25.14 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.09395, allocations: 50.47 MB / 413.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2651/0.3591, allocations: 74.6 MB / 488.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.3593, allocations: 63.12 kB / 488.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04017/0.3995, allocations: 14.91 MB / 0.4915 GB, free: 6.535 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.358e-05/0.3996, allocations: 21.09 kB / 0.4915 GB, free: 6.527 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003739/0.4033, allocations: 1.401 MB / 0.4929 GB, free: 5.668 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.4034, allocations: 9 kB / 0.4929 GB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.4064, allocations: 0.4905 MB / 0.4933 GB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008607/0.4073, allocations: 0.5548 MB / 0.4939 GB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.4075, allocations: 198.5 kB / 0.4941 GB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.4077, allocations: 46.95 kB / 0.4941 GB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001524/0.4092, allocations: 0.7337 MB / 0.4948 GB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.4104, allocations: 0.6819 MB / 0.4955 GB, free: 4.785 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.4104, allocations: 5.406 kB / 0.4955 GB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.598e-05/0.4105, allocations: 0 / 0.4955 GB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.4106, allocations: 19.81 kB / 0.4955 GB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004996/0.4156, allocations: 3.071 MB / 0.4985 GB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.4167, allocations: 0.6014 MB / 0.4991 GB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008338/0.4175, allocations: 0.4952 MB / 0.4996 GB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.4176, allocations: 8.812 kB / 0.4996 GB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.4177, allocations: 45.03 kB / 0.4996 GB, free: 3.059 MB / 330.7 MB Notification: Performance of pre-optimization done (n=77): time 2.545e-06/0.4177, allocations: 0 / 0.4996 GB, free: 3.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=77): time 0.01272/0.4304, allocations: 4.118 MB / 0.5037 GB, free: 1.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.4305, allocations: 60.31 kB / 0.5037 GB, free: 1.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008149/0.4313, allocations: 470.5 kB / 0.5042 GB, free: 1.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001879/0.4315, allocations: 29.64 kB / 0.5042 GB, free: 1.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.4316, allocations: 264.3 kB / 0.5045 GB, free: 1.391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.4318, allocations: 254.1 kB / 0.5047 GB, free: 1.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.4319, allocations: 1.25 kB / 0.5047 GB, free: 1.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.432, allocations: 382.3 kB / 0.5051 GB, free: 0.8633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006854/0.4327, allocations: 387.3 kB / 0.5054 GB, free: 0.8594 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.4334, allocations: 477.5 kB / 0.5059 GB, free: 0.7734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/0.4342, allocations: 437.6 kB / 0.5063 GB, free: 0.7188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.4342, allocations: 1.031 kB / 0.5063 GB, free: 0.7188 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.01302/0.4472, allocations: 4.192 MB / 0.5104 GB, free: 13.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4473, allocations: 7.938 kB / 0.5104 GB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.4473, allocations: 0 / 0.5104 GB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006168/0.4534, allocations: 1.788 MB / 0.5122 GB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.4541, allocations: 91.66 kB / 0.5122 GB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/0.4687, allocations: 6.251 MB / 0.5183 GB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.4701, allocations: 147.3 kB / 0.5185 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.4702, allocations: 27.36 kB / 0.5185 GB, free: 7.086 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 ) "d-axis transient voltage (pu)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 ) "q-axis transient voltage (pu)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pwLine1.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine3.is.re:VARIABLE() "Real 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 pwLinewithOpening1.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLoadPQ1.p.ii:VARIABLE(flow=true ) type: Real pwLine4.is.re:VARIABLE() "Real part of complex number" type: Real pwLine4.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine2.is.re:VARIABLE() "Real part of complex number" type: Real pwLine1.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine3.ir.im:VARIABLE() "Imaginary 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 (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.0003465/0.4705, allocations: 136 kB / 0.5186 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.4707, allocations: 70.84 kB / 0.5187 GB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/0.4834, allocations: 4.204 MB / 0.5228 GB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.4835, allocations: 8 kB / 0.5228 GB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4835, allocations: 0 / 0.5228 GB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/0.4835, allocations: 3.984 kB / 0.5228 GB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.4853, allocations: 0.9292 MB / 0.5237 GB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.4853, allocations: 0 / 0.5237 GB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.4858, allocations: 79.91 kB / 0.5238 GB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005414/0.4912, allocations: 1.71 MB / 0.5255 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.4914, allocations: 4 kB / 0.5255 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/0.5044, allocations: 5.62 MB / 0.531 GB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5045, allocations: 0 / 0.531 GB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01421/0.5187, allocations: 4.887 MB / 0.5357 GB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.5191, allocations: 168 kB / 0.5359 GB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.5192, allocations: 0 / 0.5359 GB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5203, allocations: 107.9 kB / 0.536 GB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.5205, allocations: 100.6 kB / 0.5361 GB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/0.5206, allocations: 27.89 kB / 0.5361 GB, free: 5.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0004813/0.5211, allocations: 370.9 kB / 0.5365 GB, free: 5.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001098/0.5222, allocations: 303.5 kB / 0.5368 GB, free: 4.938 MB / 362.7 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 () * 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.0002817/0.5225, allocations: 124.4 kB / 0.5369 GB, free: 4.809 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005273/0.5278, allocations: 1.86 MB / 0.5387 GB, free: 2.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5278, allocations: 0.5 kB / 0.5387 GB, free: 2.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00424/0.5321, allocations: 1.381 MB / 0.5401 GB, free: 1.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.5326, allocations: 38.08 kB / 0.5401 GB, free: 1.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.5357, allocations: 1.104 MB / 0.5412 GB, free: 372 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007423/0.5364, allocations: 1.004 MB / 0.5422 GB, free: 15.33 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5364, allocations: 0 / 0.5422 GB, free: 15.33 MB / 378.7 MB Notification: Performance of Templates: time 0.0274/0.5638, allocations: 16.6 MB / 0.5584 GB, free: 14.77 MB / 394.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2.makefile (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)