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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 190.4 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3952/0.3952, allocations: 50.19 MB / 319.5 MB, free: 2.516 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: iPSL requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: iPSL requested package Complex of version 3.2.1. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 91.09 kB / 388.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1429, allocations: 58.22 MB / 446.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2_perturbation): time 0.005752/0.1487, allocations: 3.791 MB / 450.5 MB, free: 3.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.1516, allocations: 1.537 MB / 452.1 MB, free: 1.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.1519, allocations: 12 kB / 452.1 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.1523, allocations: 103.3 kB / 452.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.1528, allocations: 190.9 kB / 452.4 MB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.1544, allocations: 0.744 MB / 453.1 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2669/0.4213, allocations: 0.9403 MB / 454.1 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000601/0.422, allocations: 272 kB / 454.3 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006497/0.4227, allocations: 439 kB / 454.8 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006375/0.4233, allocations: 0.609 MB / 455.4 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.4234, allocations: 63.25 kB / 455.4 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.4238, allocations: 155.1 kB / 455.6 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.424, allocations: 220.3 kB / 455.8 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.4243, allocations: 467.1 kB / 456.3 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009355/0.4253, allocations: 1.176 MB / 457.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4253, allocations: 2.875 kB / 457.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4253, allocations: 0 / 457.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.4253, allocations: 0 / 457.4 MB, free: 38.73 MB / 382.1 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.006481/0.4318, allocations: 2.206 MB / 459.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4319, allocations: 8.719 kB / 459.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00404/0.4359, allocations: 0.6746 MB / 460.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008206/0.4368, allocations: 0.6397 MB / 461 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.437, allocations: 225.6 kB / 461.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.4371, allocations: 76 kB / 461.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.4392, allocations: 1.048 MB / 462.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.4392, allocations: 2.781 kB / 462.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.4393, allocations: 36.86 kB / 462.3 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.4393, allocations: 17.09 kB / 462.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.4416, allocations: 1.058 MB / 463.4 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005059/0.4466, allocations: 3.375 MB / 466.8 MB, free: 35.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.4485, allocations: 0.8982 MB / 467.7 MB, free: 35.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.4498, allocations: 0.733 MB / 468.4 MB, free: 35.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.45, allocations: 15.02 kB / 468.4 MB, free: 35.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.45, allocations: 40.94 kB / 468.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.337e-06/0.45, allocations: 0 / 468.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.02344/0.4735, allocations: 6.416 MB / 474.9 MB, free: 33.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.4736, allocations: 66.22 kB / 475 MB, free: 33.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.4747, allocations: 0.6756 MB / 475.6 MB, free: 33.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.4749, allocations: 44.73 kB / 475.7 MB, free: 33.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.4751, allocations: 413.2 kB / 476.1 MB, free: 33.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/0.4754, allocations: 311.9 kB / 476.4 MB, free: 32.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.4758, allocations: 136.9 kB / 476.5 MB, free: 32.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.4759, allocations: 334.3 kB / 476.8 MB, free: 32.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.4774, allocations: 0.599 MB / 477.4 MB, free: 32.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.479, allocations: 0.7065 MB / 478.1 MB, free: 32.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01579/0.4948, allocations: 4.047 MB / 482.2 MB, free: 31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.4948, allocations: 1.031 kB / 482.2 MB, free: 31 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01421/0.5091, allocations: 3.856 MB / 486.1 MB, free: 30.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.5092, allocations: 6.328 kB / 486.1 MB, free: 30.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.5092, allocations: 2.812 kB / 486.1 MB, free: 30.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006469/0.5157, allocations: 1.71 MB / 487.8 MB, free: 29.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008851/0.5166, allocations: 135.6 kB / 487.9 MB, free: 29.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/0.5373, allocations: 8.414 MB / 496.3 MB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.5388, allocations: 148 kB / 496.5 MB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.5389, allocations: 29.8 kB / 496.5 MB, free: 25.47 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.delta:VARIABLE(flow=false start = Generator.delta0 fixed = true ) "Rotor angle (deg)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005682/0.5395, allocations: 219.2 kB / 496.7 MB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.5398, allocations: 85 kB / 496.8 MB, free: 25.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/0.5525, allocations: 3.939 MB / 0.489 GB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.5526, allocations: 9.438 kB / 0.489 GB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5526, allocations: 0 / 0.489 GB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/0.5526, allocations: 3.984 kB / 0.489 GB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.5543, allocations: 1.139 MB / 0.4901 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5543, allocations: 3.625 kB / 0.4901 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.555, allocations: 120.8 kB / 0.4902 GB, free: 22.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005509/0.5605, allocations: 1.719 MB / 0.4919 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.5606, allocations: 19.12 kB / 0.4919 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/0.5758, allocations: 7.322 MB / 0.4991 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5759, allocations: 3.984 kB / 0.4991 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/0.5893, allocations: 4.828 MB / 0.5038 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.5898, allocations: 175.9 kB / 0.504 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.5899, allocations: 19.94 kB / 0.504 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009907/0.5909, allocations: 107.7 kB / 0.5041 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006888/0.5916, allocations: 204.1 kB / 0.5043 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.328e-05/0.5917, allocations: 21.88 kB / 0.5043 GB, free: 9.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005346/0.5922, allocations: 487 kB / 0.5048 GB, free: 8.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5922, allocations: 0 / 0.5048 GB, free: 8.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001275/0.5935, allocations: 359.5 kB / 0.5051 GB, free: 8.359 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002922/0.5938, allocations: 123 kB / 0.5052 GB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005933/0.5998, allocations: 2.209 MB / 0.5074 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5998, allocations: 0 / 0.5074 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004401/0.6042, allocations: 1.525 MB / 0.5089 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6053, allocations: 79.69 kB / 0.509 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.6091, allocations: 2.115 MB / 0.511 GB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.6096, allocations: 1.025 MB / 0.512 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003623/0.61, allocations: 77.05 kB / 0.5121 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.6102, allocations: 51.42 kB / 0.5121 GB, free: 1.145 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6102, allocations: 0 / 0.5121 GB, free: 1.145 MB / 382.1 MB Notification: Performance of Templates: time 0.03466/0.6449, allocations: 19.84 MB / 0.5315 GB, free: 13.34 MB / 414.1 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)