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.001014/0.001014, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.369/1.369, allocations: 223.2 MB / 239 MB, free: 5.453 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.001006/0.001006, allocations: 180.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.524/0.524, allocations: 91.93 MB / 433.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003849, allocations: 12.22 kB / 0.5042 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3393, allocations: 72.47 MB / 0.5749 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses): time 0.008505/0.3478, allocations: 12.22 MB / 0.5869 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00638/0.3543, allocations: 3.546 MB / 0.5903 GB, free: 25.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.3559, allocations: 28.09 kB / 0.5904 GB, free: 25.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.3569, allocations: 367.3 kB / 0.5907 GB, free: 25.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.36, allocations: 1.144 MB / 0.5918 GB, free: 24.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.3621, allocations: 0.9995 MB / 0.5928 GB, free: 24.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003891/0.366, allocations: 3.553 MB / 0.5963 GB, free: 22.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.3671, allocations: 0.7104 MB / 0.597 GB, free: 22.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.3691, allocations: 1.27 MB / 0.5982 GB, free: 21.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.371, allocations: 1.603 MB / 0.5998 GB, free: 20.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004155/0.3714, allocations: 139.2 kB / 0.5999 GB, free: 20.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008052/0.3722, allocations: 270.3 kB / 0.6002 GB, free: 20.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004417/0.3727, allocations: 0.5596 MB / 0.6007 GB, free: 20.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000607/0.3733, allocations: 0.5266 MB / 0.6012 GB, free: 20.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.3766, allocations: 3.362 MB / 0.6045 GB, free: 19.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3766, allocations: 0 / 0.6045 GB, free: 19.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3766, allocations: 1.031 kB / 0.6045 GB, free: 19.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001105/0.3767, allocations: 4 kB / 0.6045 GB, free: 19.15 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.0158/0.3925, allocations: 4.844 MB / 0.6092 GB, free: 17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3926, allocations: 13.59 kB / 0.6093 GB, free: 16.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.4037, allocations: 1.63 MB / 0.6108 GB, free: 16.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/0.4085, allocations: 1.88 MB / 0.6127 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004292/0.4089, allocations: 475 kB / 0.6131 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004629/0.4094, allocations: 197.4 kB / 0.6133 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005431/0.4148, allocations: 2.466 MB / 0.6157 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/0.4149, allocations: 3.938 kB / 0.6157 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.4151, allocations: 80.78 kB / 0.6158 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/0.4152, allocations: 44.28 kB / 0.6159 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004707/0.4199, allocations: 2.306 MB / 0.6181 GB, free: 13.26 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.01567/0.4356, allocations: 9.205 MB / 0.6271 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009184/0.4448, allocations: 4.946 MB / 0.6319 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002628/0.4474, allocations: 1.617 MB / 0.6335 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.4477, allocations: 37.97 kB / 0.6335 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003191/0.4509, allocations: 1.846 MB / 0.6353 GB, free: 15.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=236): time 4.118e-06/0.4509, allocations: 0 / 0.6353 GB, free: 15.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=236): time 0.07299/0.5239, allocations: 20.42 MB / 0.6553 GB, free: 10.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.524, allocations: 239.6 kB / 0.6555 GB, free: 10.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004747/0.5288, allocations: 2.491 MB / 0.6579 GB, free: 7.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005617/0.5294, allocations: 65.7 kB / 0.658 GB, free: 7.742 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009848/0.5304, allocations: 1.13 MB / 0.6591 GB, free: 6.602 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.5317, allocations: 0.8435 MB / 0.6599 GB, free: 5.746 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005103/0.5322, allocations: 60 kB / 0.66 GB, free: 5.688 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.5324, allocations: 432.8 kB / 0.6604 GB, free: 5.258 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/0.5359, allocations: 1.662 MB / 0.662 GB, free: 3.594 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003643/0.5396, allocations: 1.992 MB / 0.664 GB, free: 1.531 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/0.5434, allocations: 1.99 MB / 0.6659 GB, free: 15.49 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.5434, allocations: 7.938 kB / 0.6659 GB, free: 15.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.02178/0.5652, allocations: 8.463 MB / 0.6742 GB, free: 6.926 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.5654, allocations: 174.2 kB / 0.6744 GB, free: 6.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.5654, allocations: 4 kB / 0.6744 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0112/0.5766, allocations: 3.336 MB / 0.6776 GB, free: 3.352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/0.5798, allocations: 0.628 MB / 0.6782 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0354/0.6152, allocations: 19.44 MB / 0.6972 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004404/0.6197, allocations: 465.3 kB / 0.6977 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006598/0.6204, allocations: 112 kB / 0.6978 GB, free: 14.04 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 gen3.AVR.firstOrder2.y:VARIABLE(flow=false start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(flow=false start = gen3.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(flow=false start = gen2.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" fixed = true ) "d-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 ($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 initialization (342): * Single equations (assignments): 329 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {4 2,30 32,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001857/0.6222, allocations: 0.6111 MB / 0.6984 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009193/0.6232, allocations: 296.3 kB / 0.6986 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02368/0.6469, allocations: 8.564 MB / 0.707 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.6469, allocations: 24.19 kB / 0.707 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.6469, allocations: 4 kB / 0.707 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.827e-05/0.647, allocations: 11.95 kB / 0.707 GB, free: 4.445 MB / 0.4981 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.03002/0.677, allocations: 12.65 MB / 0.7194 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.6771, allocations: 0 / 0.7194 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.6785, allocations: 235.8 kB / 0.7196 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01207/0.6906, allocations: 3.83 MB / 0.7234 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005542/0.6912, allocations: 59.97 kB / 0.7234 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04169/0.7329, allocations: 20.36 MB / 0.7433 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7329, allocations: 0 / 0.7433 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02803/0.761, allocations: 10.43 MB / 0.7535 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.7622, allocations: 452.7 kB / 0.7539 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/0.7633, allocations: 48 kB / 0.754 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/0.7664, allocations: 283.7 kB / 0.7542 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001409/0.7678, allocations: 382.3 kB / 0.7546 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003492/0.7682, allocations: 63.98 kB / 0.7547 GB, free: 2.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00319/0.7714, allocations: 1.653 MB / 0.7563 GB, free: 1.074 MB / 0.545 GB Notification: Performance of sort global known variables: time 3e-07/0.7714, allocations: 0 / 0.7563 GB, free: 1.074 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004192/0.7756, allocations: 1.015 MB / 0.7573 GB, free: 60 kB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {41 45,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005502/0.7761, allocations: 185.2 kB / 0.7574 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01301/0.7892, allocations: 6.139 MB / 0.7634 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.7892, allocations: 0 / 0.7634 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008879/0.7981, allocations: 3.827 MB / 0.7672 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.801, allocations: 277.2 kB / 0.7674 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2275/1.029, allocations: 6.369 MB / 0.7737 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/1.03, allocations: 1.783 MB / 0.7754 GB, free: 163 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001475/1.031, allocations: 260 kB / 0.7757 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006327/1.032, allocations: 159.5 kB / 0.7758 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/1.032, allocations: 1 kB / 0.7758 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.07674/1.109, allocations: 49.37 MB / 0.824 GB, free: 143.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)