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.0009385/0.0009385, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.3 MB / 240 MB, free: 5.324 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.0009783/0.0009784, allocations: 180.5 kB / 291.3 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4972/0.4972, allocations: 91.91 MB / 434.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005364/0.0005365, allocations: 12 kB / 0.5054 GB, free: 7.234 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3316, allocations: 72.47 MB / 0.5762 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses): time 0.0102/0.3419, allocations: 13.12 MB / 0.589 GB, free: 27.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006877/0.3488, allocations: 3.676 MB / 0.5926 GB, free: 24.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.3513, allocations: 25.97 kB / 0.5926 GB, free: 24.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.3527, allocations: 394 kB / 0.593 GB, free: 24.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00401/0.3567, allocations: 1.246 MB / 0.5942 GB, free: 23.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.3591, allocations: 1.219 MB / 0.5954 GB, free: 22.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004175/0.3633, allocations: 3.755 MB / 0.599 GB, free: 21.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.3646, allocations: 0.834 MB / 0.5999 GB, free: 20.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.3667, allocations: 1.29 MB / 0.6011 GB, free: 20.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.3688, allocations: 1.645 MB / 0.6027 GB, free: 19.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004623/0.3692, allocations: 139.6 kB / 0.6029 GB, free: 19.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008659/0.3701, allocations: 287 kB / 0.6031 GB, free: 19.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000433/0.3705, allocations: 0.58 MB / 0.6037 GB, free: 18.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.3719, allocations: 1.453 MB / 0.6051 GB, free: 17.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003436/0.3753, allocations: 3.362 MB / 0.6084 GB, free: 16.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3754, allocations: 1.344 kB / 0.6084 GB, free: 16.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3754, allocations: 0 / 0.6084 GB, free: 16.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001178/0.3755, allocations: 0 / 0.6084 GB, free: 16.99 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.01614/0.3916, allocations: 4.81 MB / 0.6131 GB, free: 14.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3917, allocations: 9.188 kB / 0.6131 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.4026, allocations: 1.626 MB / 0.6147 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004288/0.4069, allocations: 2.001 MB / 0.6167 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004399/0.4074, allocations: 475.5 kB / 0.6171 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004644/0.4079, allocations: 197.5 kB / 0.6173 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005039/0.4129, allocations: 2.48 MB / 0.6197 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.413, allocations: 5.25 kB / 0.6197 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.4132, allocations: 72.73 kB / 0.6198 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.4132, allocations: 42.78 kB / 0.6198 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/0.4179, allocations: 2.31 MB / 0.6221 GB, free: 11 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.01533/0.4332, allocations: 9.223 MB / 0.6311 GB, free: 4.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009728/0.443, allocations: 4.963 MB / 0.6359 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003349/0.4464, allocations: 1.617 MB / 0.6375 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.4466, allocations: 37.97 kB / 0.6376 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003763/0.4503, allocations: 1.86 MB / 0.6394 GB, free: 12.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=236): time 5.48e-06/0.4504, allocations: 4 kB / 0.6394 GB, free: 12.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=236): time 0.08175/0.5321, allocations: 20.63 MB / 0.6595 GB, free: 7.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.5323, allocations: 235.6 kB / 0.6597 GB, free: 7.039 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004853/0.5371, allocations: 2.511 MB / 0.6622 GB, free: 4.512 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005601/0.5377, allocations: 69.7 kB / 0.6623 GB, free: 4.438 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.5388, allocations: 1.122 MB / 0.6634 GB, free: 3.305 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.54, allocations: 0.8358 MB / 0.6642 GB, free: 2.457 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007765/0.5408, allocations: 300.5 kB / 0.6645 GB, free: 2.156 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.5409, allocations: 301.1 kB / 0.6648 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003828/0.5447, allocations: 1.677 MB / 0.6664 GB, free: 184 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003922/0.5486, allocations: 2 MB / 0.6683 GB, free: 14.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04643/0.5951, allocations: 11.66 MB / 0.6797 GB, free: 2.195 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.5951, allocations: 0 / 0.6797 GB, free: 2.195 MB / 478.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.02561/0.6208, allocations: 8.432 MB / 0.688 GB, free: 9.672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.6209, allocations: 174.2 kB / 0.6881 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.621, allocations: 4 kB / 0.6881 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01201/0.633, allocations: 3.205 MB / 0.6913 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/0.6365, allocations: 0.6398 MB / 0.6919 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03712/0.6736, allocations: 18.95 MB / 0.7104 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005293/0.6789, allocations: 473.2 kB / 0.7108 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/0.68, allocations: 112 kB / 0.711 GB, free: 1.395 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.002949/0.683, allocations: 0.6134 MB / 0.7116 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/0.6847, allocations: 296.2 kB / 0.7118 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02769/0.7124, allocations: 8.575 MB / 0.7202 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.251e-05/0.7124, allocations: 24 kB / 0.7202 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.7125, allocations: 4 kB / 0.7202 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.177e-05/0.7125, allocations: 15.89 kB / 0.7202 GB, free: 7.785 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.03348/0.746, allocations: 12.68 MB / 0.7326 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.7461, allocations: 0 / 0.7326 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/0.7475, allocations: 231.7 kB / 0.7328 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01334/0.7609, allocations: 3.838 MB / 0.7366 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005493/0.7615, allocations: 63.92 kB / 0.7367 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04383/0.8053, allocations: 20.4 MB / 0.7566 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.8054, allocations: 4 kB / 0.7566 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03274/0.8381, allocations: 10.45 MB / 0.7668 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/0.8395, allocations: 440.7 kB / 0.7672 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/0.8406, allocations: 55.94 kB / 0.7673 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00328/0.8439, allocations: 283.7 kB / 0.7675 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001382/0.8453, allocations: 366.4 kB / 0.7679 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003593/0.8457, allocations: 67.98 kB / 0.7679 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0034/0.8491, allocations: 1.673 MB / 0.7696 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.635e-06/0.8491, allocations: 0 / 0.7696 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004134/0.8533, allocations: 1.026 MB / 0.7706 GB, free: 3.281 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.0005502/0.8538, allocations: 177.2 kB / 0.7708 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2419/1.096, allocations: 6.112 MB / 0.7767 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.096, allocations: 1.531 kB / 0.7767 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009289/1.105, allocations: 3.838 MB / 0.7805 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/1.108, allocations: 280.9 kB / 0.7807 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008952/1.117, allocations: 6.76 MB / 0.7873 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/1.118, allocations: 1.774 MB / 0.7891 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/1.12, allocations: 169.5 kB / 0.7892 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/1.12, allocations: 3.938 kB / 0.7892 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.09681/1.216, allocations: 101.9 MB / 0.8888 GB, free: 80.3 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)