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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 183.1 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 239.7 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 106 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4444/0.4444, allocations: 78.49 MB / 418.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 497.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2632, allocations: 68.13 MB / 0.5523 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses): time 0.009197/0.2724, allocations: 13.74 MB / 0.5657 GB, free: 6.426 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006674/0.2791, allocations: 3.683 MB / 0.5693 GB, free: 2.734 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/0.2815, allocations: 28 kB / 0.5693 GB, free: 2.707 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.2828, allocations: 389.2 kB / 0.5697 GB, free: 2.324 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.2862, allocations: 1.248 MB / 0.5709 GB, free: 1.078 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.2885, allocations: 1.219 MB / 0.5721 GB, free: 15.87 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004241/0.2927, allocations: 3.813 MB / 0.5758 GB, free: 12.04 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.2939, allocations: 0.8526 MB / 0.5767 GB, free: 11.14 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.2959, allocations: 1.365 MB / 0.578 GB, free: 9.766 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.2979, allocations: 1.753 MB / 0.5797 GB, free: 8.004 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003972/0.2983, allocations: 176 kB / 0.5799 GB, free: 7.832 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007548/0.2991, allocations: 307.9 kB / 0.5802 GB, free: 7.531 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005705/0.2996, allocations: 0.6375 MB / 0.5808 GB, free: 6.891 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.301, allocations: 1.491 MB / 0.5823 GB, free: 5.391 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.3045, allocations: 4.208 MB / 0.5864 GB, free: 1.168 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3045, allocations: 0 / 0.5864 GB, free: 1.168 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3046, allocations: 0 / 0.5864 GB, free: 1.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.239e-05/0.3046, allocations: 0 / 0.5864 GB, free: 1.168 MB / 394.7 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.01727/0.3219, allocations: 5.336 MB / 0.5916 GB, free: 11.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.322, allocations: 8.031 kB / 0.5916 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.3322, allocations: 1.615 MB / 0.5932 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004058/0.3363, allocations: 1.993 MB / 0.5951 GB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004436/0.3368, allocations: 464.6 kB / 0.5956 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004075/0.3372, allocations: 199.9 kB / 0.5957 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004533/0.3417, allocations: 2.387 MB / 0.5981 GB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.3418, allocations: 4 kB / 0.5981 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.342, allocations: 76 kB / 0.5982 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.342, allocations: 44 kB / 0.5982 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00458/0.3466, allocations: 2.216 MB / 0.6004 GB, free: 2.57 MB / 410.7 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.01558/0.3622, allocations: 9.037 MB / 0.6092 GB, free: 9.188 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01/0.3723, allocations: 4.385 MB / 0.6135 GB, free: 4.566 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002982/0.3753, allocations: 1.531 MB / 0.615 GB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.3755, allocations: 41.97 kB / 0.615 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003311/0.3788, allocations: 1.768 MB / 0.6167 GB, free: 1.191 MB / 426.7 MB Notification: Performance of pre-optimization done (n=236): time 7.304e-06/0.3788, allocations: 3.984 kB / 0.6167 GB, free: 1.188 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.08037/0.4592, allocations: 18.32 MB / 0.6346 GB, free: 14.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.4594, allocations: 247.6 kB / 0.6349 GB, free: 14.44 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004293/0.4637, allocations: 2.507 MB / 0.6373 GB, free: 11.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004347/0.4641, allocations: 65.7 kB / 0.6374 GB, free: 11.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008911/0.465, allocations: 1.126 MB / 0.6385 GB, free: 10.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001084/0.4661, allocations: 0.8436 MB / 0.6393 GB, free: 9.852 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/0.4676, allocations: 0.5696 MB / 0.6399 GB, free: 9.273 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.4677, allocations: 301.1 kB / 0.6401 GB, free: 8.977 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/0.471, allocations: 1.584 MB / 0.6417 GB, free: 7.391 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003531/0.4745, allocations: 1.91 MB / 0.6435 GB, free: 5.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04537/0.5199, allocations: 11.03 MB / 0.6543 GB, free: 10.13 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/0.52, allocations: 0 / 0.6543 GB, free: 10.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.02307/0.543, allocations: 7.413 MB / 0.6616 GB, free: 2.625 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.5432, allocations: 175.5 kB / 0.6617 GB, free: 2.418 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.5433, allocations: 7.938 kB / 0.6617 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/0.5544, allocations: 2.807 MB / 0.6645 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/0.5578, allocations: 0.6397 MB / 0.6651 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.245/0.8028, allocations: 17.73 MB / 0.6824 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00384/0.8067, allocations: 405.4 kB / 0.6828 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/0.8069, allocations: 119.2 kB / 0.6829 GB, free: 107.1 MB / 490.7 MB 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.001049/0.808, allocations: 0.6079 MB / 0.6835 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.8084, allocations: 300.6 kB / 0.6838 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02355/0.832, allocations: 7.345 MB / 0.691 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.8321, allocations: 24.34 kB / 0.691 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8321, allocations: 1.469 kB / 0.691 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.73e-05/0.8321, allocations: 17.38 kB / 0.691 GB, free: 105.7 MB / 490.7 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 postOpt removeSimpleEquations (simulation): time 0.02538/0.8575, allocations: 11.43 MB / 0.7022 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.8575, allocations: 3.844 kB / 0.7022 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.8587, allocations: 224.2 kB / 0.7024 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01112/0.8698, allocations: 3.447 MB / 0.7058 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/0.8701, allocations: 63.7 kB / 0.7058 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03593/0.9061, allocations: 19.04 MB / 0.7244 GB, free: 82.06 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9061, allocations: 8 kB / 0.7244 GB, free: 82.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1753/1.081, allocations: 70.38 MB / 0.7931 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008254/1.082, allocations: 444.7 kB / 0.7936 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007413/1.083, allocations: 44 kB / 0.7936 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002685/1.086, allocations: 223.7 kB / 0.7938 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001266/1.087, allocations: 378.3 kB / 0.7942 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000307/1.087, allocations: 67.98 kB / 0.7942 GB, free: 9.746 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002623/1.09, allocations: 1.673 MB / 0.7959 GB, free: 8.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.09, allocations: 0 / 0.7959 GB, free: 8.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004363/1.094, allocations: 1.468 MB / 0.7973 GB, free: 6.602 MB / 490.7 MB 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.000402/1.095, allocations: 172 kB / 0.7975 GB, free: 6.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01055/1.105, allocations: 5.735 MB / 0.8031 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.105, allocations: 0 / 0.8031 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008157/1.114, allocations: 3.526 MB / 0.8065 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.116, allocations: 282.3 kB / 0.8068 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/1.132, allocations: 9.892 MB / 0.8164 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.134, allocations: 1.872 MB / 0.8183 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001237/1.135, allocations: 274.3 kB / 0.8185 GB, free: 456 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006692/1.136, allocations: 171.4 kB / 0.8187 GB, free: 284 kB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/1.136, allocations: 0 / 0.8187 GB, free: 284 kB / 0.4948 GB Notification: Performance of Templates: time 0.1051/1.241, allocations: 75.09 MB / 0.892 GB, free: 5.309 MB / 0.573 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)