Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.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_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") translateModel(iPSL.Examples.Machines.PSAT.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") [: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.003121/0.003121, allocations: 176.6 kB / 7.45 MB, free: 2.508 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.18/1.18, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001667/0.001666, allocations: 124.3 kB / 217.7 MB, free: 8.168 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.2199/0.2199, allocations: 49.89 MB / 306.7 MB, free: 13.6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.434e-06/7.454e-06, allocations: 0 / 363.2 MB, free: 25.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.09859, allocations: 50.48 MB / 413.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2642/0.3629, allocations: 74.67 MB / 488.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.3632, allocations: 68.64 kB / 488.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04033/0.4035, allocations: 14.11 MB / 0.4908 GB, free: 7.246 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.586e-05/0.4036, allocations: 14.91 kB / 0.4908 GB, free: 7.246 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.004836/0.4084, allocations: 1.431 MB / 0.4922 GB, free: 6.375 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.4085, allocations: 9.156 kB / 0.4922 GB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/0.412, allocations: 497.5 kB / 0.4927 GB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.4136, allocations: 0.563 MB / 0.4932 GB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/0.414, allocations: 200.9 kB / 0.4934 GB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003615/0.4143, allocations: 43.06 kB / 0.4934 GB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001958/0.4163, allocations: 0.7414 MB / 0.4942 GB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.4179, allocations: 0.6918 MB / 0.4948 GB, free: 5.488 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.418, allocations: 7.922 kB / 0.4949 GB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.4181, allocations: 0 / 0.4949 GB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.4181, allocations: 16.62 kB / 0.4949 GB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005713/0.4238, allocations: 3.117 MB / 0.4979 GB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.425, allocations: 0.6012 MB / 0.4985 GB, free: 3.812 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000917/0.4259, allocations: 0.5018 MB / 0.499 GB, free: 3.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.4261, allocations: 16.11 kB / 0.499 GB, free: 3.797 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4261, allocations: 41.72 kB / 0.499 GB, free: 3.754 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 3.186e-06/0.4261, allocations: 0 / 0.499 GB, free: 3.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.01339/0.4395, allocations: 4.137 MB / 0.5031 GB, free: 2.523 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.4396, allocations: 58.88 kB / 0.5031 GB, free: 2.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009671/0.4406, allocations: 479.2 kB / 0.5036 GB, free: 2.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002418/0.4408, allocations: 25.7 kB / 0.5036 GB, free: 2.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.441, allocations: 265.2 kB / 0.5039 GB, free: 2.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.4414, allocations: 265.9 kB / 0.5041 GB, free: 1.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.4415, allocations: 4 kB / 0.5041 GB, free: 1.887 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4416, allocations: 379.2 kB / 0.5045 GB, free: 1.551 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000828/0.4425, allocations: 393.3 kB / 0.5049 GB, free: 1.551 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008494/0.4433, allocations: 489.9 kB / 0.5053 GB, free: 1.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008932/0.4442, allocations: 437.7 kB / 0.5058 GB, free: 1.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.4443, allocations: 4.688 kB / 0.5058 GB, free: 1.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0132/0.4575, allocations: 4.206 MB / 0.5099 GB, free: 14.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4576, allocations: 8 kB / 0.5099 GB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.4576, allocations: 0 / 0.5099 GB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006326/0.4639, allocations: 1.781 MB / 0.5116 GB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.4646, allocations: 91.77 kB / 0.5117 GB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/0.4803, allocations: 6.233 MB / 0.5178 GB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.4818, allocations: 151.3 kB / 0.5179 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/0.4821, allocations: 26.61 kB / 0.518 GB, free: 7.863 MB / 346.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 ) "d-axis sub-transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 ) "d-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_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.0004247/0.4825, allocations: 145.9 kB / 0.5181 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.4828, allocations: 71.06 kB / 0.5182 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.496, allocations: 4.239 MB / 0.5223 GB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.4961, allocations: 11.91 kB / 0.5223 GB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4961, allocations: 0 / 0.5223 GB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.57e-05/0.4961, allocations: 3.984 kB / 0.5223 GB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.4978, allocations: 0.9391 MB / 0.5232 GB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.4978, allocations: 0 / 0.5232 GB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.4984, allocations: 79.84 kB / 0.5233 GB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005743/0.5042, allocations: 1.714 MB / 0.525 GB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/0.5044, allocations: 0 / 0.525 GB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/0.5184, allocations: 5.624 MB / 0.5305 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5185, allocations: 4 kB / 0.5305 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0146/0.5331, allocations: 4.914 MB / 0.5353 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.5336, allocations: 171.9 kB / 0.5354 GB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.5339, allocations: 8 kB / 0.5355 GB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.5351, allocations: 103.9 kB / 0.5356 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003468/0.5355, allocations: 112.5 kB / 0.5357 GB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-05/0.5356, allocations: 16 kB / 0.5357 GB, free: 6.195 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0005562/0.5361, allocations: 378.9 kB / 0.536 GB, free: 5.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001233/0.5374, allocations: 311.4 kB / 0.5363 GB, free: 5.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_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.0002942/0.5377, allocations: 123.1 kB / 0.5365 GB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005576/0.5433, allocations: 1.864 MB / 0.5383 GB, free: 3.504 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.5433, allocations: 4 kB / 0.5383 GB, free: 3.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004498/0.5478, allocations: 1.397 MB / 0.5396 GB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.5484, allocations: 46.89 kB / 0.5397 GB, free: 2.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.5523, allocations: 1.135 MB / 0.5408 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/0.5533, allocations: 1.012 MB / 0.5418 GB, free: 15.85 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5533, allocations: 0 / 0.5418 GB, free: 15.85 MB / 378.7 MB Notification: Performance of Templates: time 0.04589/0.5992, allocations: 16.89 MB / 0.5583 GB, free: 15 MB / 394.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe 2>&1)