Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.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/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/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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) 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(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.557/1.557, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2198/0.2198, allocations: 16.72 MB / 307.1 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 67.88 kB / 371.7 MB, free: 3.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4046, allocations: 53.55 MB / 425.3 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.005358/0.41, allocations: 4.591 MB / 429.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003928/0.414, allocations: 2.525 MB / 432.4 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.4143, allocations: 12.5 kB / 432.4 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.415, allocations: 249.7 kB / 432.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.4175, allocations: 1.155 MB / 433.8 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008037/0.4183, allocations: 471.6 kB / 434.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.4193, allocations: 1.044 MB / 435.3 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.4195, allocations: 73.73 kB / 435.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.4199, allocations: 368.8 kB / 435.7 MB, free: 33.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.4203, allocations: 377.9 kB / 436.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.354e-05/0.4203, allocations: 43.09 kB / 436.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005708/0.4209, allocations: 299.8 kB / 436.4 MB, free: 33.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.574e-05/0.421, allocations: 119.8 kB / 436.5 MB, free: 33.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.4213, allocations: 346.5 kB / 436.9 MB, free: 32.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008694/0.4222, allocations: 0.8949 MB / 437.8 MB, free: 32.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4222, allocations: 4 kB / 437.8 MB, free: 32.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.4222, allocations: 0 / 437.8 MB, free: 32.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.4222, allocations: 3.938 kB / 437.8 MB, free: 32.55 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003195/0.4254, allocations: 1.251 MB / 439 MB, free: 31.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.4255, allocations: 8.062 kB / 439 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/0.4258, allocations: 93.55 kB / 439.1 MB, free: 31.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007319/0.4266, allocations: 0.5048 MB / 439.6 MB, free: 31.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.4266, allocations: 29.44 kB / 439.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.4267, allocations: 45.84 kB / 439.7 MB, free: 31.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007145/0.4274, allocations: 0.5254 MB / 440.2 MB, free: 30.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.4274, allocations: 3.531 kB / 440.2 MB, free: 30.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.4275, allocations: 15.81 kB / 440.3 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.4275, allocations: 11.53 kB / 440.3 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.428, allocations: 378.2 kB / 440.6 MB, free: 30.83 MB / 350.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.003025/0.4311, allocations: 3.428 MB / 444.1 MB, free: 27.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/0.4317, allocations: 300.7 kB / 444.4 MB, free: 27.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.4318, allocations: 112.1 kB / 444.5 MB, free: 27.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.4319, allocations: 3.438 kB / 444.5 MB, free: 27.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.4319, allocations: 42.16 kB / 444.5 MB, free: 27.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.614e-06/0.4319, allocations: 0 / 444.5 MB, free: 27.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009968/0.4329, allocations: 0.504 MB / 445 MB, free: 27.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.433, allocations: 58.5 kB / 445.1 MB, free: 27.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/0.4336, allocations: 0.5948 MB / 445.7 MB, free: 27.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.4337, allocations: 29.7 kB / 445.7 MB, free: 26.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.4339, allocations: 315 kB / 446 MB, free: 26.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.434, allocations: 133.8 kB / 446.1 MB, free: 26.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/0.4343, allocations: 249.1 kB / 446.4 MB, free: 26.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4345, allocations: 386.4 kB / 446.8 MB, free: 26.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.4349, allocations: 315.2 kB / 447.1 MB, free: 26.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.4354, allocations: 435 kB / 447.5 MB, free: 25.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007169/0.4361, allocations: 0.6113 MB / 448.1 MB, free: 25.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.4362, allocations: 0 / 448.1 MB, free: 25.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001492/0.4377, allocations: 1.027 MB / 449.1 MB, free: 25.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4377, allocations: 4.75 kB / 449.1 MB, free: 25.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4377, allocations: 4.281 kB / 449.1 MB, free: 25.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/0.4379, allocations: 40.73 kB / 449.2 MB, free: 25.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009132/0.4389, allocations: 261.4 kB / 449.4 MB, free: 25.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009143/0.4398, allocations: 1.437 MB / 450.9 MB, free: 23.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000783/0.4406, allocations: 80.02 kB / 450.9 MB, free: 23.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.4407, allocations: 39.59 kB / 451 MB, free: 23.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (load.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.4409, allocations: 214.6 kB / 451.2 MB, free: 23.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.441, allocations: 61 kB / 451.3 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.4416, allocations: 351 kB / 451.6 MB, free: 23.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4416, allocations: 3.188 kB / 451.6 MB, free: 23.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.4416, allocations: 3.219 kB / 451.6 MB, free: 23.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4416, allocations: 3.938 kB / 451.6 MB, free: 23.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009509/0.4426, allocations: 0.983 MB / 452.6 MB, free: 22.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4426, allocations: 3.125 kB / 452.6 MB, free: 22.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.4428, allocations: 55.09 kB / 452.6 MB, free: 22.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.4429, allocations: 24.94 kB / 452.7 MB, free: 22.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.4429, allocations: 6.969 kB / 452.7 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007223/0.4437, allocations: 1.44 MB / 454.1 MB, free: 21.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4437, allocations: 7.922 kB / 454.1 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.4442, allocations: 440.1 kB / 454.6 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.4444, allocations: 177.4 kB / 454.7 MB, free: 20.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.88e-05/0.4445, allocations: 13.98 kB / 454.7 MB, free: 20.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/0.4449, allocations: 28.94 kB / 454.8 MB, free: 20.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.4449, allocations: 21.97 kB / 454.8 MB, free: 20.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.445, allocations: 15.72 kB / 454.8 MB, free: 20.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004119/0.4454, allocations: 389.9 kB / 455.2 MB, free: 20.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4454, allocations: 0.5 kB / 455.2 MB, free: 20.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006866/0.4461, allocations: 250.6 kB / 455.4 MB, free: 20.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002321/0.4463, allocations: 146.8 kB / 455.6 MB, free: 20.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.4474, allocations: 0.7946 MB / 456.4 MB, free: 19.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4474, allocations: 4.25 kB / 456.4 MB, free: 19.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.4477, allocations: 250.6 kB / 456.6 MB, free: 19.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.4483, allocations: 53.23 kB / 456.7 MB, free: 19.64 MB / 350.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.4495, allocations: 0.8631 MB / 457.5 MB, free: 19.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.4498, allocations: 0.8462 MB / 458.4 MB, free: 18.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.4501, allocations: 99.78 kB / 458.5 MB, free: 18.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.4502, allocations: 49.66 kB / 458.5 MB, free: 18.36 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4502, allocations: 0 / 458.5 MB, free: 18.36 MB / 350.1 MB Notification: Performance of Templates: time 0.01538/0.4656, allocations: 7.273 MB / 465.8 MB, free: 17.83 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1)