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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002252/0.002253, allocations: 174.8 kB / 7.45 MB, free: 2.508 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.252/1.252, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001588/0.001589, allocations: 104.4 kB / 217.7 MB, free: 8.16 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.216/0.216, allocations: 49.9 MB / 306.7 MB, free: 13.6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.621e-06/5.641e-06, allocations: 0 / 363.2 MB, free: 25.14 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.09044, allocations: 50.48 MB / 413.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2485/0.339, allocations: 75.77 MB / 489.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001472/0.3391, allocations: 67.92 kB / 489.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04718/0.3863, allocations: 17.33 MB / 0.495 GB, free: 5.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.157e-05/0.3864, allocations: 18.16 kB / 0.495 GB, free: 5.656 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.004577/0.391, allocations: 1.601 MB / 0.4966 GB, free: 4.703 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.391, allocations: 9.125 kB / 0.4966 GB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.3943, allocations: 0.5139 MB / 0.4971 GB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.3954, allocations: 0.6157 MB / 0.4977 GB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.3956, allocations: 202 kB / 0.4979 GB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.3958, allocations: 56.67 kB / 0.4979 GB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001943/0.3978, allocations: 0.8031 MB / 0.4987 GB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.3996, allocations: 0.7568 MB / 0.4994 GB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.3996, allocations: 1.031 kB / 0.4994 GB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.463e-05/0.3997, allocations: 3.984 kB / 0.4994 GB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.3997, allocations: 18.19 kB / 0.4995 GB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006485/0.4062, allocations: 3.405 MB / 0.5028 GB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.4073, allocations: 0.6492 MB / 0.5034 GB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008186/0.4082, allocations: 0.5368 MB / 0.5039 GB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.4083, allocations: 17.55 kB / 0.504 GB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.4083, allocations: 52.2 kB / 0.504 GB, free: 1.914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 2.896e-06/0.4083, allocations: 0 / 0.504 GB, free: 1.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.01288/0.4212, allocations: 4.199 MB / 0.5081 GB, free: 12 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.4213, allocations: 64.17 kB / 0.5082 GB, free: 15.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.4224, allocations: 0.5531 MB / 0.5087 GB, free: 15.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002435/0.4227, allocations: 26.64 kB / 0.5087 GB, free: 15.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.4229, allocations: 298.2 kB / 0.509 GB, free: 15.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/0.4234, allocations: 300.2 kB / 0.5093 GB, free: 14.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.4235, allocations: 0 / 0.5093 GB, free: 14.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4237, allocations: 339.1 kB / 0.5096 GB, free: 14.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008107/0.4245, allocations: 424.9 kB / 0.51 GB, free: 14.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008454/0.4254, allocations: 0.505 MB / 0.5105 GB, free: 14.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009123/0.4263, allocations: 468 kB / 0.511 GB, free: 13.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.4263, allocations: 0 / 0.511 GB, free: 13.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01355/0.4399, allocations: 4.302 MB / 0.5152 GB, free: 10.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4399, allocations: 4 kB / 0.5152 GB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.4399, allocations: 4 kB / 0.5152 GB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006379/0.4463, allocations: 1.782 MB / 0.5169 GB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/0.4473, allocations: 143.6 kB / 0.5171 GB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/0.4622, allocations: 6.239 MB / 0.5232 GB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.4637, allocations: 183.1 kB / 0.5233 GB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.4638, allocations: 35.98 kB / 0.5234 GB, free: 3.27 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.0003482/0.4642, allocations: 138.5 kB / 0.5235 GB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.4644, allocations: 82.97 kB / 0.5236 GB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/0.4777, allocations: 4.317 MB / 0.5278 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.4778, allocations: 12 kB / 0.5278 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4778, allocations: 0 / 0.5278 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.535e-05/0.4779, allocations: 3.984 kB / 0.5278 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.4796, allocations: 1.04 MB / 0.5288 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4796, allocations: 3.938 kB / 0.5288 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/0.4804, allocations: 135.9 kB / 0.529 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005587/0.486, allocations: 1.706 MB / 0.5306 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/0.4862, allocations: 4 kB / 0.5306 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/0.4994, allocations: 5.62 MB / 0.5361 GB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.4995, allocations: 4 kB / 0.5361 GB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01455/0.514, allocations: 5.048 MB / 0.541 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006456/0.5147, allocations: 299.6 kB / 0.5413 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.5149, allocations: 0 / 0.5413 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.5161, allocations: 135.9 kB / 0.5415 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/0.5164, allocations: 120.6 kB / 0.5416 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.382e-05/0.5165, allocations: 24 kB / 0.5416 GB, free: 416 kB / 362.7 MB Notification: Performance of sort global known variables: time 0.0006281/0.5172, allocations: 436.2 kB / 0.542 GB, free: 15.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001255/0.5184, allocations: 335.4 kB / 0.5423 GB, free: 15.65 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.0003001/0.5187, allocations: 130.2 kB / 0.5425 GB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005763/0.5245, allocations: 1.947 MB / 0.5444 GB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5246, allocations: 0 / 0.5444 GB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00473/0.5293, allocations: 1.444 MB / 0.5458 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.53, allocations: 39 kB / 0.5458 GB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.5338, allocations: 1.284 MB / 0.5471 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008193/0.5346, allocations: 1.079 MB / 0.5481 GB, free: 9.633 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5347, allocations: 0 / 0.5481 GB, free: 9.633 MB / 378.7 MB Notification: Performance of Templates: time 0.03133/0.566, allocations: 17.87 MB / 0.5656 GB, free: 7.805 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)