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.001069/0.001069, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001195/0.001195, allocations: 168.7 kB / 15.95 MB, free: 204 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.763/1.763, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.4251/0.4251, allocations: 50.21 MB / 320.6 MB, free: 3.387 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.0006579/0.000658, allocations: 22.81 kB / 390.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1417, allocations: 59.32 MB / 449.7 MB, free: 5.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2_perturbation): time 0.003865/0.1456, allocations: 3.202 MB / 452.9 MB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.1485, allocations: 1.456 MB / 454.4 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.1488, allocations: 8 kB / 454.4 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.1492, allocations: 87.2 kB / 454.5 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.1497, allocations: 178.8 kB / 454.7 MB, free: 440 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2355/0.3851, allocations: 0.6425 MB / 455.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.387, allocations: 0.8768 MB / 456.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005955/0.3877, allocations: 247.5 kB / 456.4 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.3883, allocations: 397.2 kB / 456.8 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007571/0.3891, allocations: 0.5506 MB / 457.4 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.3892, allocations: 51.53 kB / 457.4 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.3896, allocations: 129.8 kB / 457.5 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.3898, allocations: 206.1 kB / 457.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.39, allocations: 156.1 kB / 457.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006919/0.3907, allocations: 0.905 MB / 458.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.3907, allocations: 2.812 kB / 458.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3907, allocations: 3.688 kB / 458.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.3908, allocations: 0 / 458.8 MB, free: 37.91 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.005545/0.3963, allocations: 2.076 MB / 460.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3964, allocations: 10.34 kB / 460.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003978/0.4003, allocations: 0.6792 MB / 461.6 MB, free: 37.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008035/0.4012, allocations: 0.6127 MB / 462.2 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.4014, allocations: 231.3 kB / 462.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.4015, allocations: 76.91 kB / 462.5 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.4034, allocations: 1.126 MB / 463.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.4034, allocations: 1.969 kB / 463.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-05/0.4035, allocations: 30.03 kB / 463.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.4036, allocations: 17.72 kB / 463.7 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.4055, allocations: 1.155 MB / 464.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.4099, allocations: 3.416 MB / 468.2 MB, free: 35.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.4115, allocations: 0.9799 MB / 469.2 MB, free: 35.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.4127, allocations: 0.8054 MB / 470 MB, free: 35.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.4128, allocations: 12.39 kB / 470 MB, free: 35.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.4129, allocations: 49.53 kB / 470.1 MB, free: 35.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.095e-06/0.4129, allocations: 0 / 470.1 MB, free: 35.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.02171/0.4346, allocations: 7.927 MB / 478 MB, free: 34.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.4347, allocations: 64.61 kB / 478.1 MB, free: 34.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009363/0.4356, allocations: 0.6639 MB / 478.7 MB, free: 33.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.4358, allocations: 42.12 kB / 478.8 MB, free: 33.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.436, allocations: 414.9 kB / 479.2 MB, free: 33.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.4363, allocations: 317.1 kB / 479.5 MB, free: 33.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.4364, allocations: 14.62 kB / 479.5 MB, free: 33.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.4364, allocations: 344 kB / 479.8 MB, free: 32.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.4378, allocations: 0.673 MB / 480.5 MB, free: 32.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.4393, allocations: 0.7825 MB / 481.3 MB, free: 32.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.4407, allocations: 0.7092 MB / 482 MB, free: 32.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4407, allocations: 0.9062 kB / 482 MB, free: 32.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0138/0.4545, allocations: 4.795 MB / 486.8 MB, free: 31.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.4546, allocations: 7.156 kB / 486.8 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.4546, allocations: 0.7969 kB / 486.8 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006551/0.4612, allocations: 2.106 MB / 488.9 MB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007908/0.462, allocations: 138.9 kB / 489 MB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0211/0.4831, allocations: 9.493 MB / 498.5 MB, free: 26.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.4845, allocations: 188.9 kB / 498.7 MB, free: 26.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.4846, allocations: 28.59 kB / 498.8 MB, free: 26.64 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.000465/0.4851, allocations: 223.7 kB / 499 MB, free: 26.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.4853, allocations: 85.47 kB / 499.1 MB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/0.4973, allocations: 4.855 MB / 0.4921 GB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.4973, allocations: 8 kB / 0.4921 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4973, allocations: 0 / 0.4921 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.307e-05/0.4974, allocations: 3.984 kB / 0.4921 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.4987, allocations: 1.141 MB / 0.4932 GB, free: 22.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4987, allocations: 3.094 kB / 0.4932 GB, free: 22.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/0.4993, allocations: 131.8 kB / 0.4934 GB, free: 21.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005152/0.5044, allocations: 2.028 MB / 0.4953 GB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/0.5047, allocations: 20 kB / 0.4954 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01587/0.5206, allocations: 8.187 MB / 0.5033 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5206, allocations: 0 / 0.5033 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/0.5337, allocations: 5.795 MB / 0.509 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.5341, allocations: 191.8 kB / 0.5092 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.5342, allocations: 16 kB / 0.5092 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008752/0.5351, allocations: 135.9 kB / 0.5093 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006001/0.5357, allocations: 204.6 kB / 0.5095 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/0.5358, allocations: 28 kB / 0.5096 GB, free: 5.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005698/0.5364, allocations: 475 kB / 0.51 GB, free: 4.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5364, allocations: 0 / 0.51 GB, free: 4.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001454/0.5379, allocations: 367.4 kB / 0.5104 GB, free: 4.324 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.0003322/0.5382, allocations: 137 kB / 0.5105 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005778/0.544, allocations: 2.536 MB / 0.513 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.544, allocations: 0 / 0.513 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004104/0.5481, allocations: 1.759 MB / 0.5147 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008504/0.549, allocations: 79.55 kB / 0.5148 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.5531, allocations: 2.016 MB / 0.5167 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000774/0.5539, allocations: 1.021 MB / 0.5177 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004341/0.5543, allocations: 73.12 kB / 0.5178 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.5546, allocations: 51.42 kB / 0.5178 GB, free: 12.59 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5546, allocations: 0 / 0.5178 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Templates: time 0.0333/0.5879, allocations: 18.98 MB / 0.5364 GB, free: 9.641 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: