Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 105 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 239.6 MB, free: 4.707 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 196.1 kB / 289.9 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4975/0.4975, allocations: 91.89 MB / 432 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 79.81 kB / 0.502 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3181, allocations: 71.26 MB / 0.5716 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses): time 0.009648/0.3278, allocations: 13.77 MB / 0.5851 GB, free: 27.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006374/0.3342, allocations: 3.673 MB / 0.5887 GB, free: 24.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.3361, allocations: 30.97 kB / 0.5887 GB, free: 24.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.3372, allocations: 378.9 kB / 0.589 GB, free: 24.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.3401, allocations: 1.249 MB / 0.5903 GB, free: 23.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.3421, allocations: 1.229 MB / 0.5915 GB, free: 23.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003274/0.3453, allocations: 4.027 MB / 0.5954 GB, free: 21.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.3464, allocations: 0.9281 MB / 0.5963 GB, free: 20.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.3481, allocations: 1.581 MB / 0.5978 GB, free: 19.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.3497, allocations: 1.892 MB / 0.5997 GB, free: 18.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004535/0.3501, allocations: 357.4 kB / 0.6 GB, free: 18.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008268/0.351, allocations: 0.4991 MB / 0.6005 GB, free: 18.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004614/0.3514, allocations: 0.808 MB / 0.6013 GB, free: 18.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.3525, allocations: 1.691 MB / 0.603 GB, free: 16.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.3554, allocations: 3.503 MB / 0.6064 GB, free: 15.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3554, allocations: 0.7031 kB / 0.6064 GB, free: 15.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3554, allocations: 1.406 kB / 0.6064 GB, free: 15.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.422e-05/0.3555, allocations: 0 / 0.6064 GB, free: 15.64 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.01591/0.3714, allocations: 5.322 MB / 0.6116 GB, free: 13.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3714, allocations: 13.48 kB / 0.6116 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009991/0.3814, allocations: 1.618 MB / 0.6132 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/0.3852, allocations: 1.99 MB / 0.6151 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/0.3856, allocations: 466.3 kB / 0.6156 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/0.386, allocations: 194.9 kB / 0.6158 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004612/0.3906, allocations: 2.382 MB / 0.6181 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.3906, allocations: 9.281 kB / 0.6181 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.3908, allocations: 72.67 kB / 0.6182 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/0.3909, allocations: 47.61 kB / 0.6182 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00433/0.3952, allocations: 2.21 MB / 0.6204 GB, free: 9.285 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.4099, allocations: 9.096 MB / 0.6292 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008603/0.4185, allocations: 4.392 MB / 0.6335 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/0.421, allocations: 1.531 MB / 0.635 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.4212, allocations: 37.97 kB / 0.6351 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003051/0.4243, allocations: 1.764 MB / 0.6368 GB, free: 11.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=236): time 3.707e-06/0.4243, allocations: 0 / 0.6368 GB, free: 11.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=236): time 0.07147/0.4958, allocations: 17.9 MB / 0.6543 GB, free: 9.184 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4959, allocations: 231.6 kB / 0.6545 GB, free: 8.906 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003699/0.4996, allocations: 2.507 MB / 0.6569 GB, free: 6.383 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002451/0.4999, allocations: 69.7 kB / 0.657 GB, free: 6.309 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007906/0.5007, allocations: 1.13 MB / 0.6581 GB, free: 5.168 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007828/0.5015, allocations: 0.8358 MB / 0.6589 GB, free: 4.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009995/0.5025, allocations: 0.5773 MB / 0.6595 GB, free: 3.734 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.5026, allocations: 301.1 kB / 0.6598 GB, free: 3.438 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/0.5055, allocations: 1.588 MB / 0.6613 GB, free: 1.848 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/0.5087, allocations: 1.906 MB / 0.6632 GB, free: 15.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04123/0.5499, allocations: 11.03 MB / 0.674 GB, free: 4.586 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.505e-06/0.5499, allocations: 0 / 0.674 GB, free: 4.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01999/0.5699, allocations: 7.42 MB / 0.6812 GB, free: 13.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.938e-05/0.57, allocations: 180.2 kB / 0.6814 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.57, allocations: 4 kB / 0.6814 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/0.5802, allocations: 2.823 MB / 0.6841 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/0.5829, allocations: 0.6359 MB / 0.6848 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03308/0.616, allocations: 19.19 MB / 0.7035 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00374/0.6198, allocations: 405.2 kB / 0.7039 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/0.6201, allocations: 120.1 kB / 0.704 GB, free: 4.961 MB / 0.4981 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.delta:VARIABLE(flow=false start = gen1.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen1.gen.e1q:VARIABLE(start = gen1.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen1.gen.e1d:VARIABLE(start = gen1.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen1.AVR.firstOrder2.y:VARIABLE(flow=false start = gen1.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen2.gen.delta:VARIABLE(flow=false start = gen2.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen2.gen.e1q:VARIABLE(start = gen2.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 332 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,2), (29,30), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001159/0.6212, allocations: 0.618 MB / 0.7046 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000452/0.6217, allocations: 304.2 kB / 0.7049 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02155/0.6432, allocations: 7.345 MB / 0.7121 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.6433, allocations: 27.94 kB / 0.7121 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6433, allocations: 0 / 0.7121 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.6433, allocations: 11.95 kB / 0.7121 GB, free: 12.59 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0258/0.6691, allocations: 11.43 MB / 0.7233 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.6691, allocations: 4 kB / 0.7233 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.6703, allocations: 231.6 kB / 0.7235 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01105/0.6814, allocations: 3.436 MB / 0.7268 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/0.6816, allocations: 59.98 kB / 0.7269 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03874/0.7204, allocations: 20.91 MB / 0.7473 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7204, allocations: 4 kB / 0.7473 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02497/0.7454, allocations: 9.132 MB / 0.7562 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.7464, allocations: 436.7 kB / 0.7567 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003896/0.7468, allocations: 51.98 kB / 0.7567 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/0.7491, allocations: 219.9 kB / 0.7569 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001058/0.7501, allocations: 386.4 kB / 0.7573 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/0.7503, allocations: 71.97 kB / 0.7574 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002437/0.7528, allocations: 1.665 MB / 0.759 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.7528, allocations: 0 / 0.759 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002563/0.7554, allocations: 1.015 MB / 0.76 GB, free: 10.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(41,45), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003564/0.7557, allocations: 169.3 kB / 0.7601 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01327/0.769, allocations: 5.905 MB / 0.7659 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.769, allocations: 0 / 0.7659 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007817/0.7768, allocations: 3.587 MB / 0.7694 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.7785, allocations: 297.5 kB / 0.7697 GB, free: 372 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.228/1.007, allocations: 6.566 MB / 0.7761 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009956/1.008, allocations: 1.781 MB / 0.7778 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009668/1.009, allocations: 175.8 kB / 0.778 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/1.009, allocations: 0 / 0.778 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.08567/1.094, allocations: 102.2 MB / 0.8778 GB, free: 86.21 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)