Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation") translateModel(iPSL.Examples.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00116/0.00116, allocations: 169.8 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.08/1.08, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001569/0.001569, allocations: 113.6 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.2294/0.2294, allocations: 49.9 MB / 312.3 MB, free: 9.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.563e-05, allocations: 4 kB / 370.7 MB, free: 19.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 50.49 MB / 421.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4441/0.5571, allocations: 76.5 MB / 497.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001664/0.5574, allocations: 66.19 kB / 497.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04252/0.5999, allocations: 17.88 MB / 0.5035 GB, free: 3.145 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5999, allocations: 4 kB / 0.5036 GB, free: 3.141 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.928e-05/0.6, allocations: 20 kB / 0.5036 GB, free: 3.121 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003688/0.6037, allocations: 1.527 MB / 0.5051 GB, free: 1.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.6037, allocations: 16.03 kB / 0.5051 GB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.6063, allocations: 492.2 kB / 0.5055 GB, free: 1.203 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008147/0.6071, allocations: 0.6169 MB / 0.5061 GB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.6073, allocations: 227.3 kB / 0.5064 GB, free: 480 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.6075, allocations: 81.45 kB / 0.5064 GB, free: 424 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.6091, allocations: 0.8837 MB / 0.5073 GB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6091, allocations: 0 / 0.5073 GB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.03e-05/0.6092, allocations: 34.31 kB / 0.5073 GB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.6092, allocations: 20 kB / 0.5074 GB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.6106, allocations: 0.8455 MB / 0.5082 GB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005711/0.6163, allocations: 3.498 MB / 0.5116 GB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.6175, allocations: 0.7277 MB / 0.5123 GB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007614/0.6183, allocations: 0.5676 MB / 0.5129 GB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.6184, allocations: 12.53 kB / 0.5129 GB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.6184, allocations: 46.98 kB / 0.5129 GB, free: 11.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 2.756e-06/0.6184, allocations: 0 / 0.5129 GB, free: 11.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=91): time 0.0126/0.631, allocations: 4.012 MB / 0.5168 GB, free: 8.422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.6311, allocations: 68.14 kB / 0.5169 GB, free: 8.344 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009288/0.6321, allocations: 0.5908 MB / 0.5175 GB, free: 7.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.6323, allocations: 39.95 kB / 0.5175 GB, free: 7.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.6326, allocations: 426.8 kB / 0.5179 GB, free: 7.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.6329, allocations: 315 kB / 0.5182 GB, free: 7.332 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.633, allocations: 14.69 kB / 0.5182 GB, free: 7.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6331, allocations: 340.8 kB / 0.5186 GB, free: 7.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/0.6339, allocations: 435.7 kB / 0.519 GB, free: 6.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/0.6346, allocations: 0.5329 MB / 0.5195 GB, free: 6.426 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007982/0.6354, allocations: 474.9 kB / 0.52 GB, free: 6.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.6355, allocations: 7.938 kB / 0.52 GB, free: 6.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01248/0.648, allocations: 4.122 MB / 0.524 GB, free: 2.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.648, allocations: 8 kB / 0.524 GB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.6481, allocations: 0 / 0.524 GB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00598/0.654, allocations: 1.752 MB / 0.5257 GB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008388/0.6549, allocations: 142.7 kB / 0.5258 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/0.6703, allocations: 7.236 MB / 0.5329 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.672, allocations: 191.2 kB / 0.5331 GB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.6722, allocations: 24 kB / 0.5331 GB, free: 10.38 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 (71): * Single equations (assignments): 70 * 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.0003041/0.6725, allocations: 160.5 kB / 0.5333 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.6727, allocations: 86.88 kB / 0.5333 GB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/0.6858, allocations: 4.148 MB / 0.5374 GB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.6858, allocations: 12 kB / 0.5374 GB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6859, allocations: 4 kB / 0.5374 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.381e-05/0.6859, allocations: 3.984 kB / 0.5374 GB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.688, allocations: 1.152 MB / 0.5385 GB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.688, allocations: 0 / 0.5385 GB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007604/0.6888, allocations: 119.9 kB / 0.5387 GB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00549/0.6943, allocations: 1.648 MB / 0.5403 GB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.6945, allocations: 23.98 kB / 0.5403 GB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/0.7084, allocations: 6.297 MB / 0.5464 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7084, allocations: 0 / 0.5464 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/0.7228, allocations: 4.878 MB / 0.5512 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/0.7236, allocations: 299.7 kB / 0.5515 GB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/0.7238, allocations: 19.98 kB / 0.5515 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.7251, allocations: 135.9 kB / 0.5516 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000659/0.7257, allocations: 204.4 kB / 0.5518 GB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.485e-05/0.7258, allocations: 24 kB / 0.5519 GB, free: 6.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007104/0.7266, allocations: 479.2 kB / 0.5523 GB, free: 6.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7266, allocations: 0 / 0.5523 GB, free: 6.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001487/0.7281, allocations: 371.5 kB / 0.5527 GB, free: 6.121 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 (62): * Single equations (assignments): 61 * 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.0003546/0.7284, allocations: 143.7 kB / 0.5528 GB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005829/0.7343, allocations: 2.029 MB / 0.5548 GB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.7343, allocations: 0 / 0.5548 GB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004475/0.7388, allocations: 1.492 MB / 0.5562 GB, free: 2.422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.7394, allocations: 62.95 kB / 0.5563 GB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.7425, allocations: 1.311 MB / 0.5576 GB, free: 1.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007703/0.7433, allocations: 1.049 MB / 0.5586 GB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003937/0.7437, allocations: 73.08 kB / 0.5587 GB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.744, allocations: 51.36 kB / 0.5587 GB, free: 15.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.332e-06/0.744, allocations: 0 / 0.5587 GB, free: 15.82 MB / 394.7 MB Notification: Performance of Templates: time 0.031/0.775, allocations: 18.96 MB / 0.5772 GB, free: 12.86 MB / 410.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)