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.0008641/0.0008641, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008991/0.0008991, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3422/0.3422, allocations: 50.19 MB / 320.6 MB, free: 3.41 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.0006872/0.0006873, allocations: 22.81 kB / 390.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.106, allocations: 59.32 MB / 449.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2_perturbation): time 0.003769/0.1098, allocations: 3.22 MB / 452.9 MB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.1124, allocations: 1.448 MB / 454.4 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004848/0.1129, allocations: 12 kB / 454.4 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.1131, allocations: 79.16 kB / 454.4 MB, free: 0.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.1136, allocations: 203.3 kB / 454.6 MB, free: 480 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1791/0.2928, allocations: 0.6461 MB / 455.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.2938, allocations: 0.5802 MB / 455.9 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003545/0.2942, allocations: 248.4 kB / 456.1 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003613/0.2946, allocations: 390 kB / 456.5 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.2951, allocations: 0.5335 MB / 457 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.036e-05/0.2952, allocations: 52.48 kB / 457.1 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.2955, allocations: 125.7 kB / 457.2 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.2956, allocations: 196 kB / 457.4 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.696e-05/0.2957, allocations: 163.3 kB / 457.5 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005994/0.2963, allocations: 0.8634 MB / 458.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2963, allocations: 2.719 kB / 458.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2963, allocations: 1.875 kB / 458.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.2964, allocations: 0 / 458.4 MB, free: 38.38 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.005803/0.3022, allocations: 2.079 MB / 460.5 MB, free: 37.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3022, allocations: 6.844 kB / 460.5 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00402/0.3062, allocations: 0.6845 MB / 461.2 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007858/0.307, allocations: 0.6074 MB / 461.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.3072, allocations: 233 kB / 462 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.3074, allocations: 82.84 kB / 462.1 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.3094, allocations: 1.116 MB / 463.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3094, allocations: 0 / 463.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.3095, allocations: 31.22 kB / 463.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.3095, allocations: 18.34 kB / 463.3 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.3116, allocations: 1.153 MB / 464.4 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004747/0.3163, allocations: 3.418 MB / 467.8 MB, free: 36.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.3181, allocations: 0.9781 MB / 468.8 MB, free: 35.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.884e-05/0.3182, allocations: 18.69 kB / 468.8 MB, free: 35.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.3182, allocations: 42.16 kB / 468.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.294e-06/0.3182, allocations: 4 kB / 468.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.02432/0.3425, allocations: 7.923 MB / 476.8 MB, free: 35.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3426, allocations: 61.12 kB / 476.9 MB, free: 35.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009168/0.3435, allocations: 0.6658 MB / 477.5 MB, free: 34.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.3437, allocations: 39.89 kB / 477.6 MB, free: 34.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.344, allocations: 410.7 kB / 478 MB, free: 34.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.3443, allocations: 320.4 kB / 478.3 MB, free: 34.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.3443, allocations: 16.03 kB / 478.3 MB, free: 34.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.3444, allocations: 347.6 kB / 478.6 MB, free: 33.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.3458, allocations: 0.6734 MB / 479.3 MB, free: 33.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.3473, allocations: 0.7722 MB / 480.1 MB, free: 33.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.3488, allocations: 0.7145 MB / 480.8 MB, free: 33.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3488, allocations: 1 kB / 480.8 MB, free: 33.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01401/0.3629, allocations: 4.795 MB / 485.6 MB, free: 32.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.3629, allocations: 7.062 kB / 485.6 MB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3629, allocations: 2.344 kB / 485.6 MB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006588/0.3695, allocations: 2.1 MB / 487.7 MB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/0.3703, allocations: 139.8 kB / 487.8 MB, free: 31.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/0.3917, allocations: 9.954 MB / 497.8 MB, free: 27.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.393, allocations: 185.8 kB / 498 MB, free: 27.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-05/0.3931, allocations: 30.98 kB / 498 MB, free: 27.39 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 fixed = true ) "d-axis transient voltage (pu)" 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 (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.0004007/0.3935, allocations: 227.5 kB / 498.2 MB, free: 27.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.3937, allocations: 84.97 kB / 498.3 MB, free: 27.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.4064, allocations: 4.854 MB / 0.4914 GB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.4064, allocations: 12 kB / 0.4914 GB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4064, allocations: 1.406 kB / 0.4914 GB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/0.4065, allocations: 3.984 kB / 0.4914 GB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.4078, allocations: 1.139 MB / 0.4925 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4078, allocations: 3.938 kB / 0.4925 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/0.4084, allocations: 123.9 kB / 0.4926 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005403/0.4138, allocations: 2.029 MB / 0.4946 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.414, allocations: 23.98 kB / 0.4946 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01601/0.43, allocations: 8.62 MB / 0.503 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4301, allocations: 0.875 kB / 0.503 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/0.4437, allocations: 5.806 MB / 0.5087 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.444, allocations: 191.8 kB / 0.5089 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.4442, allocations: 16 kB / 0.5089 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009665/0.4451, allocations: 139.8 kB / 0.509 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005031/0.4457, allocations: 204.6 kB / 0.5092 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.4457, allocations: 24 kB / 0.5093 GB, free: 5.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004223/0.4462, allocations: 475.9 kB / 0.5097 GB, free: 5.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4462, allocations: 0 / 0.5097 GB, free: 5.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009609/0.4471, allocations: 363.4 kB / 0.5101 GB, free: 4.801 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 (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.0001998/0.4473, allocations: 141.9 kB / 0.5102 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005726/0.4531, allocations: 2.535 MB / 0.5127 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4531, allocations: 0 / 0.5127 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004125/0.4572, allocations: 1.757 MB / 0.5144 GB, free: 368 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4576, allocations: 58.98 kB / 0.5144 GB, free: 308 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.4606, allocations: 2.065 MB / 0.5165 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.4612, allocations: 1.045 MB / 0.5175 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000322/0.4616, allocations: 69.14 kB / 0.5175 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.4617, allocations: 55.42 kB / 0.5176 GB, free: 13.03 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4618, allocations: 0 / 0.5176 GB, free: 13.03 MB / 398.1 MB Notification: Performance of Templates: time 0.027/0.4888, allocations: 18.94 MB / 0.5361 GB, free: 10.11 MB / 414.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: