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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00131/0.00131, allocations: 157.7 kB / 7.633 MB, free: 1.445 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.279/1.279, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001643/0.001643, allocations: 104.9 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.361/0.361, allocations: 50.06 MB / 307.2 MB, free: 37.65 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.413e-05/1.415e-05, allocations: 0 / 363.9 MB, free: 0.793 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 50.49 MB / 414.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3022/0.4117, allocations: 74.67 MB / 489.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00016/0.4119, allocations: 69.89 kB / 489.1 MB, free: 5.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04034/0.4523, allocations: 15.25 MB / 0.4925 GB, free: 5.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4523, allocations: 0.5625 kB / 0.4925 GB, free: 5.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/0.4524, allocations: 20 kB / 0.4926 GB, free: 5.816 MB / 346.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.003674/0.4561, allocations: 1.351 MB / 0.4939 GB, free: 4.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.4561, allocations: 12.03 kB / 0.4939 GB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.459, allocations: 466.4 kB / 0.4943 GB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.4598, allocations: 0.5533 MB / 0.4949 GB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.4601, allocations: 205.5 kB / 0.4951 GB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.4602, allocations: 43.89 kB / 0.4951 GB, free: 3.094 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001281/0.4615, allocations: 0.7332 MB / 0.4958 GB, free: 2.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.4627, allocations: 0.683 MB / 0.4965 GB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.4628, allocations: 3.953 kB / 0.4965 GB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.4628, allocations: 0 / 0.4965 GB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.4629, allocations: 16 kB / 0.4965 GB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00519/0.468, allocations: 3.053 MB / 0.4995 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.4692, allocations: 0.6293 MB / 0.5001 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007198/0.47, allocations: 0.4968 MB / 0.5006 GB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.4701, allocations: 8.781 kB / 0.5006 GB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.4701, allocations: 43.34 kB / 0.5007 GB, free: 13.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 3.206e-06/0.4701, allocations: 0 / 0.5007 GB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=77): time 0.01226/0.4824, allocations: 3.899 MB / 0.5045 GB, free: 9.336 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.4824, allocations: 64.17 kB / 0.5045 GB, free: 9.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007179/0.4832, allocations: 466.3 kB / 0.505 GB, free: 8.801 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.4833, allocations: 26.92 kB / 0.505 GB, free: 8.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.4836, allocations: 356.1 kB / 0.5053 GB, free: 8.418 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.4839, allocations: 256.2 kB / 0.5056 GB, free: 8.164 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.4839, allocations: 0 / 0.5056 GB, free: 8.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.4841, allocations: 382.7 kB / 0.5059 GB, free: 7.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/0.4848, allocations: 389.6 kB / 0.5063 GB, free: 7.402 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/0.4854, allocations: 479.6 kB / 0.5068 GB, free: 6.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/0.4863, allocations: 461.9 kB / 0.5072 GB, free: 6.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4863, allocations: 0 / 0.5072 GB, free: 6.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.01214/0.4984, allocations: 3.978 MB / 0.5111 GB, free: 2.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.4985, allocations: 11.98 kB / 0.5111 GB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.4985, allocations: 0 / 0.5111 GB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005513/0.504, allocations: 1.711 MB / 0.5128 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.5046, allocations: 91.84 kB / 0.5129 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.5185, allocations: 7.029 MB / 0.5197 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.5197, allocations: 139.3 kB / 0.5199 GB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-05/0.5197, allocations: 27.95 kB / 0.5199 GB, free: 9.324 MB / 378.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.0002847/0.52, allocations: 127.1 kB / 0.52 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.5202, allocations: 75.14 kB / 0.5201 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.5324, allocations: 3.993 MB / 0.524 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.5324, allocations: 8 kB / 0.524 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5324, allocations: 1.5 kB / 0.524 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.5325, allocations: 3.984 kB / 0.524 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.5339, allocations: 0.9322 MB / 0.5249 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.5339, allocations: 3.953 kB / 0.5249 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.5343, allocations: 79.84 kB / 0.525 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005122/0.5395, allocations: 1.64 MB / 0.5266 GB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.5396, allocations: 0 / 0.5266 GB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01698/0.5566, allocations: 6.162 MB / 0.5326 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5567, allocations: 0 / 0.5326 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/0.5745, allocations: 4.663 MB / 0.5372 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.5748, allocations: 160.2 kB / 0.5373 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.5751, allocations: 4 kB / 0.5373 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.5763, allocations: 114.7 kB / 0.5374 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007533/0.5771, allocations: 180.4 kB / 0.5376 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.5772, allocations: 24 kB / 0.5376 GB, free: 6.941 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006508/0.5779, allocations: 362.9 kB / 0.538 GB, free: 6.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5779, allocations: 0 / 0.538 GB, free: 6.586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001517/0.5794, allocations: 311.5 kB / 0.5383 GB, free: 6.281 MB / 394.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.0003433/0.5798, allocations: 127 kB / 0.5384 GB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005268/0.5851, allocations: 1.862 MB / 0.5402 GB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5851, allocations: 0.5 kB / 0.5402 GB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004038/0.5892, allocations: 1.399 MB / 0.5416 GB, free: 2.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.5896, allocations: 46.08 kB / 0.5416 GB, free: 2.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.5921, allocations: 1.06 MB / 0.5426 GB, free: 1.746 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.5928, allocations: 0.9817 MB / 0.5436 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002959/0.5931, allocations: 52.83 kB / 0.5437 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.5932, allocations: 47.42 kB / 0.5437 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5933, allocations: 0 / 0.5437 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of Templates: time 0.02975/0.623, allocations: 16.84 MB / 0.5601 GB, free: 15.82 MB / 426.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)