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.001047/0.001048, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.286/1.286, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001527/0.001527, allocations: 103.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.2111/0.2111, allocations: 50.06 MB / 307.2 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.845e-05, allocations: 4 kB / 363.9 MB, free: 24.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 50.5 MB / 414.4 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.4366, allocations: 75.84 MB / 490.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4369, allocations: 65.69 kB / 490.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04466/0.4815, allocations: 17.65 MB / 0.496 GB, free: 5.594 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4816, allocations: 0.6562 kB / 0.496 GB, free: 5.594 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.945e-05/0.4816, allocations: 23.19 kB / 0.4961 GB, free: 5.59 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.004406/0.4861, allocations: 1.541 MB / 0.4976 GB, free: 4.676 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4861, allocations: 11.53 kB / 0.4976 GB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/0.4889, allocations: 495.2 kB / 0.4981 GB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.4899, allocations: 0.6091 MB / 0.4986 GB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.4901, allocations: 200.3 kB / 0.4988 GB, free: 3.965 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.4904, allocations: 50.08 kB / 0.4989 GB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001431/0.4918, allocations: 0.8051 MB / 0.4997 GB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.4931, allocations: 0.7579 MB / 0.5004 GB, free: 3.758 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.4932, allocations: 3.938 kB / 0.5004 GB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.4932, allocations: 0 / 0.5004 GB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.4933, allocations: 19.19 kB / 0.5004 GB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005189/0.4985, allocations: 3.361 MB / 0.5037 GB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009291/0.4994, allocations: 0.7097 MB / 0.5044 GB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006268/0.5001, allocations: 0.5309 MB / 0.5049 GB, free: 1.992 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.5002, allocations: 19.58 kB / 0.5049 GB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.5002, allocations: 46.75 kB / 0.505 GB, free: 1.938 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 3.136e-06/0.5002, allocations: 0 / 0.505 GB, free: 1.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.01129/0.5115, allocations: 3.997 MB / 0.5089 GB, free: 15.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5116, allocations: 60.19 kB / 0.509 GB, free: 15.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008888/0.5125, allocations: 0.5422 MB / 0.5095 GB, free: 15.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.5127, allocations: 25.7 kB / 0.5095 GB, free: 15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.513, allocations: 419.8 kB / 0.5099 GB, free: 14.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.5134, allocations: 298 kB / 0.5102 GB, free: 14.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.5135, allocations: 4 kB / 0.5102 GB, free: 14.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5136, allocations: 336.9 kB / 0.5105 GB, free: 14.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.5144, allocations: 431.2 kB / 0.5109 GB, free: 13.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007327/0.5151, allocations: 0.5087 MB / 0.5114 GB, free: 13.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009017/0.516, allocations: 498.5 kB / 0.5119 GB, free: 13.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.516, allocations: 0 / 0.5119 GB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01264/0.5287, allocations: 4.084 MB / 0.5159 GB, free: 9.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.5287, allocations: 8 kB / 0.5159 GB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5288, allocations: 0 / 0.5159 GB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005791/0.5346, allocations: 1.712 MB / 0.5176 GB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008018/0.5354, allocations: 138.8 kB / 0.5177 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/0.5501, allocations: 7.026 MB / 0.5246 GB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.5515, allocations: 171.2 kB / 0.5247 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.5517, allocations: 28 kB / 0.5248 GB, free: 1.969 MB / 346.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pwLine1.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLinewithOpening1.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.is.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine4.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine4.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine4.is.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine4.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.is.re:VARIABLE() "Real part of complex number" type: Real pwLine1.is.re:VARIABLE() "Real part of complex number" type: Real pwLine1.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine3.ir.im:VARIABLE() "Imaginary part of complex number" 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.0003788/0.5521, allocations: 144 kB / 0.5249 GB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.5523, allocations: 94.8 kB / 0.525 GB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.565, allocations: 4.108 MB / 0.529 GB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.5651, allocations: 8 kB / 0.529 GB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5651, allocations: 0 / 0.529 GB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/0.5651, allocations: 7.984 kB / 0.529 GB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.5667, allocations: 1.038 MB / 0.53 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5668, allocations: 0 / 0.53 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/0.5675, allocations: 127.9 kB / 0.5301 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005264/0.5728, allocations: 1.64 MB / 0.5317 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/0.573, allocations: 8 kB / 0.5318 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/0.586, allocations: 6.156 MB / 0.5378 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.586, allocations: 0 / 0.5378 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/0.6001, allocations: 4.825 MB / 0.5425 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006656/0.6008, allocations: 303.6 kB / 0.5428 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.601, allocations: 4 kB / 0.5428 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.6023, allocations: 123.9 kB / 0.5429 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006593/0.603, allocations: 204.4 kB / 0.5431 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.6031, allocations: 20 kB / 0.5431 GB, free: 14.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006868/0.6038, allocations: 435.2 kB / 0.5435 GB, free: 14.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6038, allocations: 0 / 0.5435 GB, free: 14.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001384/0.6052, allocations: 331.5 kB / 0.5438 GB, free: 14.23 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.0003311/0.6056, allocations: 135 kB / 0.544 GB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005456/0.611, allocations: 1.95 MB / 0.5459 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.611, allocations: 0 / 0.5459 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004329/0.6154, allocations: 1.45 MB / 0.5473 GB, free: 10.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.616, allocations: 47.3 kB / 0.5473 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.6188, allocations: 1.253 MB / 0.5486 GB, free: 9.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.6195, allocations: 1.045 MB / 0.5496 GB, free: 8.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003891/0.6199, allocations: 69.02 kB / 0.5496 GB, free: 8.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.6201, allocations: 51.42 kB / 0.5497 GB, free: 8.148 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6201, allocations: 4 kB / 0.5497 GB, free: 8.145 MB / 378.7 MB Notification: Performance of Templates: time 0.02771/0.6479, allocations: 17.66 MB / 0.5669 GB, free: 6.5 MB / 394.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)