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.001927/0.001927, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001866/0.001866, allocations: 189.2 kB / 16.25 MB, free: 6.625 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.649/1.649, allocations: 205.1 MB / 222.1 MB, free: 4.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3882/0.3882, allocations: 50.2 MB / 319.6 MB, free: 2.465 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.001698/0.001698, allocations: 91.88 kB / 388.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1364, allocations: 58.21 MB / 446.9 MB, free: 6.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2_perturbation): time 0.004999/0.1414, allocations: 3.787 MB / 450.7 MB, free: 3.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.1446, allocations: 1.529 MB / 452.3 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/0.1452, allocations: 12 kB / 452.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.1457, allocations: 107.2 kB / 452.4 MB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000558/0.1463, allocations: 182.9 kB / 452.5 MB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.1482, allocations: 0.7401 MB / 453.3 MB, free: 476 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2811/0.4293, allocations: 0.9996 MB / 454.3 MB, free: 39.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006912/0.43, allocations: 309.5 kB / 454.6 MB, free: 39.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007056/0.4307, allocations: 477.6 kB / 455.1 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006762/0.4314, allocations: 0.6396 MB / 455.7 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.4316, allocations: 98.34 kB / 455.8 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.432, allocations: 187.5 kB / 456 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.4322, allocations: 254.1 kB / 456.2 MB, free: 39.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.4325, allocations: 0.4995 MB / 456.7 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.4336, allocations: 1.213 MB / 457.9 MB, free: 38.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4336, allocations: 1.5 kB / 457.9 MB, free: 38.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4336, allocations: 3.094 kB / 457.9 MB, free: 38.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.4336, allocations: 0 / 457.9 MB, free: 38.93 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.006483/0.4401, allocations: 2.202 MB / 460.1 MB, free: 38.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.4402, allocations: 12.42 kB / 460.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004237/0.4444, allocations: 0.6784 MB / 460.8 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009756/0.4454, allocations: 0.6378 MB / 461.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.4457, allocations: 226.3 kB / 461.7 MB, free: 37.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.4458, allocations: 80.75 kB / 461.8 MB, free: 37.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.4482, allocations: 1.051 MB / 462.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.4482, allocations: 1.547 kB / 462.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.4483, allocations: 32.41 kB / 462.9 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.4483, allocations: 20.66 kB / 462.9 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.4507, allocations: 1.056 MB / 463.9 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006697/0.4574, allocations: 3.374 MB / 467.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.4594, allocations: 0.8972 MB / 468.2 MB, free: 35.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.4608, allocations: 0.7344 MB / 468.9 MB, free: 35.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.461, allocations: 17.42 kB / 469 MB, free: 35.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.461, allocations: 39.06 kB / 469 MB, free: 35.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 4.389e-06/0.461, allocations: 2.938 kB / 469 MB, free: 35.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.02391/0.4849, allocations: 6.417 MB / 475.4 MB, free: 33.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.485, allocations: 58.59 kB / 475.5 MB, free: 33.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.4861, allocations: 0.674 MB / 476.1 MB, free: 33.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.4864, allocations: 45.45 kB / 476.2 MB, free: 33.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.4867, allocations: 410 kB / 476.6 MB, free: 33.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/0.4871, allocations: 314.2 kB / 476.9 MB, free: 33.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.4875, allocations: 138.5 kB / 477 MB, free: 32.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.4876, allocations: 335.2 kB / 477.4 MB, free: 32.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.489, allocations: 0.5977 MB / 478 MB, free: 32.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.4905, allocations: 0.7014 MB / 478.7 MB, free: 32.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/0.5066, allocations: 4.073 MB / 482.7 MB, free: 31.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-06/0.5066, allocations: 0 / 482.7 MB, free: 31.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01373/0.5203, allocations: 3.851 MB / 486.6 MB, free: 30.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.5204, allocations: 6.703 kB / 486.6 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.5204, allocations: 2.406 kB / 486.6 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006509/0.527, allocations: 1.708 MB / 488.3 MB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.528, allocations: 137.4 kB / 488.4 MB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02426/0.5523, allocations: 9.17 MB / 497.6 MB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.5538, allocations: 144.8 kB / 497.7 MB, free: 24.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.554, allocations: 28.98 kB / 497.8 MB, free: 24.74 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.0004856/0.5544, allocations: 229.3 kB / 498 MB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.5546, allocations: 89.72 kB / 498.1 MB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.5669, allocations: 3.931 MB / 0.4902 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.5669, allocations: 7.188 kB / 0.4903 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.567, allocations: 2.031 kB / 0.4903 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.59e-05/0.567, allocations: 3.984 kB / 0.4903 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.5688, allocations: 1.139 MB / 0.4914 GB, free: 21.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5688, allocations: 5.344 kB / 0.4914 GB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/0.5694, allocations: 117.6 kB / 0.4915 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005554/0.575, allocations: 1.718 MB / 0.4932 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/0.5752, allocations: 23.98 kB / 0.4932 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/0.5911, allocations: 8.052 MB / 0.5011 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5911, allocations: 0 / 0.5011 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/0.6045, allocations: 4.823 MB / 0.5058 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.6049, allocations: 183.8 kB / 0.5059 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.6051, allocations: 16 kB / 0.506 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.6061, allocations: 107.1 kB / 0.5061 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006602/0.6068, allocations: 208.1 kB / 0.5063 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.6069, allocations: 24 kB / 0.5063 GB, free: 7.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005215/0.6074, allocations: 483 kB / 0.5067 GB, free: 6.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6074, allocations: 0 / 0.5067 GB, free: 6.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001211/0.6086, allocations: 359.5 kB / 0.5071 GB, free: 6.477 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.0002802/0.6089, allocations: 129.4 kB / 0.5072 GB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006154/0.6151, allocations: 2.278 MB / 0.5094 GB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6151, allocations: 0 / 0.5094 GB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004205/0.6193, allocations: 1.57 MB / 0.511 GB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009043/0.6203, allocations: 81.12 kB / 0.511 GB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.6236, allocations: 2.113 MB / 0.5131 GB, free: 320 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.6242, allocations: 1.021 MB / 0.5141 GB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003747/0.6246, allocations: 65.14 kB / 0.5142 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.6248, allocations: 59.42 kB / 0.5142 GB, free: 15.14 MB / 398.1 MB Notification: Performance of SimCode: time 1.183e-06/0.6248, allocations: 3.938 kB / 0.5142 GB, free: 15.13 MB / 398.1 MB Notification: Performance of Templates: time 0.03331/0.6581, allocations: 21.1 MB / 0.5348 GB, free: 10.08 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)