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.001014/0.001014, allocations: 169.4 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.115/1.115, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001539/0.001539, allocations: 113.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3054/0.3054, allocations: 49.9 MB / 312.3 MB, free: 9.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.57e-05, allocations: 7.984 kB / 370.7 MB, free: 19.14 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09042, allocations: 50.49 MB / 421.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3109/0.4014, allocations: 75.33 MB / 496.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/0.4016, allocations: 64.62 kB / 496.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03826/0.4399, allocations: 15.45 MB / 0.5 GB, free: 5.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4399, allocations: 0 / 0.5 GB, free: 5.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.733e-05/0.44, allocations: 19.56 kB / 0.5001 GB, free: 5.812 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.003247/0.4432, allocations: 1.346 MB / 0.5014 GB, free: 4.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4433, allocations: 8.031 kB / 0.5014 GB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.4458, allocations: 485.4 kB / 0.5018 GB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/0.4464, allocations: 0.5435 MB / 0.5024 GB, free: 3.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.4466, allocations: 227.2 kB / 0.5026 GB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.4468, allocations: 69.47 kB / 0.5027 GB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.4479, allocations: 0.7807 MB / 0.5034 GB, free: 3.008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.448, allocations: 0 / 0.5034 GB, free: 3.008 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.448, allocations: 29.77 kB / 0.5034 GB, free: 3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.4481, allocations: 16 kB / 0.5035 GB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.4491, allocations: 0.7709 MB / 0.5042 GB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004216/0.4534, allocations: 3.167 MB / 0.5073 GB, free: 36 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.4545, allocations: 0.65 MB / 0.5079 GB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/0.4553, allocations: 0.5167 MB / 0.5084 GB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.937e-05/0.4554, allocations: 12.45 kB / 0.5085 GB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.4554, allocations: 50.67 kB / 0.5085 GB, free: 15.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=77): time 2.294e-06/0.4554, allocations: 0 / 0.5085 GB, free: 15.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=77): time 0.0118/0.4672, allocations: 3.919 MB / 0.5123 GB, free: 11.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4673, allocations: 64.12 kB / 0.5124 GB, free: 11.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006637/0.468, allocations: 0.4896 MB / 0.5129 GB, free: 11.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.4681, allocations: 39.33 kB / 0.5129 GB, free: 11.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.4683, allocations: 347.5 kB / 0.5132 GB, free: 11.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.4685, allocations: 269.5 kB / 0.5135 GB, free: 10.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.4686, allocations: 10 kB / 0.5135 GB, free: 10.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4688, allocations: 376 kB / 0.5139 GB, free: 10.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/0.4694, allocations: 406.5 kB / 0.5143 GB, free: 10.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.4701, allocations: 496.9 kB / 0.5147 GB, free: 10.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.4707, allocations: 446.6 kB / 0.5152 GB, free: 9.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4707, allocations: 0 / 0.5152 GB, free: 9.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.01155/0.4823, allocations: 4.011 MB / 0.5191 GB, free: 6.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.4824, allocations: 4 kB / 0.5191 GB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.4824, allocations: 4 kB / 0.5191 GB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005448/0.4879, allocations: 1.762 MB / 0.5208 GB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.4884, allocations: 87.03 kB / 0.5209 GB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/0.5027, allocations: 7.244 MB / 0.528 GB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.5039, allocations: 151.3 kB / 0.5281 GB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.504, allocations: 24 kB / 0.5281 GB, free: 15.11 MB / 362.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 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.0002393/0.5042, allocations: 144.9 kB / 0.5283 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.5044, allocations: 71.16 kB / 0.5283 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/0.5169, allocations: 4.032 MB / 0.5323 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.5169, allocations: 8 kB / 0.5323 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5169, allocations: 0 / 0.5323 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/0.517, allocations: 7.984 kB / 0.5323 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.5186, allocations: 1.027 MB / 0.5333 GB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.5186, allocations: 0 / 0.5333 GB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.5192, allocations: 79.83 kB / 0.5334 GB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005892/0.5251, allocations: 1.659 MB / 0.535 GB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.5252, allocations: 20 kB / 0.535 GB, free: 8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.5386, allocations: 6.285 MB / 0.5411 GB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5386, allocations: 3.938 kB / 0.5411 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.5519, allocations: 4.693 MB / 0.5457 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.5522, allocations: 183.9 kB / 0.5459 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.5523, allocations: 12 kB / 0.5459 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.5534, allocations: 107.9 kB / 0.546 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000618/0.554, allocations: 184.5 kB / 0.5462 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.474e-05/0.5541, allocations: 23.98 kB / 0.5462 GB, free: 12.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006593/0.5548, allocations: 409.5 kB / 0.5466 GB, free: 11.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.853e-06/0.5548, allocations: 0 / 0.5466 GB, free: 11.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001306/0.5561, allocations: 343.5 kB / 0.5469 GB, free: 11.61 MB / 378.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.0003301/0.5564, allocations: 139.8 kB / 0.5471 GB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005408/0.5618, allocations: 1.93 MB / 0.5489 GB, free: 9.516 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.5619, allocations: 0 / 0.5489 GB, free: 9.516 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00416/0.566, allocations: 1.435 MB / 0.5503 GB, free: 8.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.5665, allocations: 61.88 kB / 0.5504 GB, free: 8.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.5689, allocations: 1.11 MB / 0.5515 GB, free: 6.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.5694, allocations: 0.9739 MB / 0.5524 GB, free: 5.879 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002981/0.5697, allocations: 60.83 kB / 0.5525 GB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.5699, allocations: 47.42 kB / 0.5525 GB, free: 5.77 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.5699, allocations: 0 / 0.5525 GB, free: 5.77 MB / 378.7 MB Notification: Performance of Templates: time 0.02802/0.5979, allocations: 18.06 MB / 0.5702 GB, free: 3.707 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)