Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.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.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 108.5 kB / 16.41 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07584/0.07584, allocations: 16.79 MB / 308 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 64.05 kB / 427.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08391/0.08509, allocations: 53.56 MB / 480.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.02454/0.1097, allocations: 28.74 MB / 0.4976 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2033/0.313, allocations: 8.156 MB / 0.5056 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.3159, allocations: 64.16 kB / 0.5056 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.319, allocations: 1.066 MB / 0.5067 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009216/0.3283, allocations: 3.729 MB / 0.5103 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.3316, allocations: 1.394 MB / 0.5117 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.3423, allocations: 6.486 MB / 0.518 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.3441, allocations: 460.4 kB / 0.5185 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004337/0.3485, allocations: 2.191 MB / 0.5206 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004455/0.353, allocations: 2.382 MB / 0.5229 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.3541, allocations: 254.9 kB / 0.5232 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.3575, allocations: 0.7425 MB / 0.5239 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007549/0.3583, allocations: 0.6629 MB / 0.5245 GB, free: 424 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004532/0.3628, allocations: 2.077 MB / 0.5266 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00821/0.3711, allocations: 4.718 MB / 0.5312 GB, free: 13.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3711, allocations: 0 / 0.5312 GB, free: 13.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3711, allocations: 0 / 0.5312 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001277/0.3712, allocations: 0 / 0.5312 GB, free: 13.42 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 664 * Number of variables: 664 Notification: Performance of Generate backend data structure: time 0.02227/0.3935, allocations: 6.075 MB / 0.5371 GB, free: 9.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3936, allocations: 11.53 kB / 0.5371 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.3963, allocations: 0.5582 MB / 0.5377 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004676/0.401, allocations: 2.196 MB / 0.5398 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.4012, allocations: 204.1 kB / 0.54 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.4015, allocations: 267.6 kB / 0.5403 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004271/0.4058, allocations: 3.181 MB / 0.5434 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-05/0.4059, allocations: 20.03 kB / 0.5434 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.4061, allocations: 127.9 kB / 0.5435 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-05/0.4062, allocations: 70.47 kB / 0.5436 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00398/0.4101, allocations: 2.527 MB / 0.546 GB, free: 3.129 MB / 398.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.02339/0.4336, allocations: 20.52 MB / 0.5661 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004828/0.4384, allocations: 2.524 MB / 0.5685 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.4399, allocations: 0.9522 MB / 0.5695 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.44, allocations: 43.08 kB / 0.5695 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.4401, allocations: 64.56 kB / 0.5696 GB, free: 10.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=252): time 4.439e-06/0.4401, allocations: 0 / 0.5696 GB, free: 10.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.02207/0.4622, allocations: 5.995 MB / 0.5754 GB, free: 4.195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.4623, allocations: 77.41 kB / 0.5755 GB, free: 4.109 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004452/0.4667, allocations: 2.946 MB / 0.5784 GB, free: 1.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003013/0.467, allocations: 77.7 kB / 0.5785 GB, free: 1.074 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.4683, allocations: 1.464 MB / 0.5799 GB, free: 15.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001156/0.4694, allocations: 1.046 MB / 0.5809 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002202/0.4717, allocations: 1.521 MB / 0.5824 GB, free: 13.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4718, allocations: 305.1 kB / 0.5827 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003518/0.4753, allocations: 2.079 MB / 0.5847 GB, free: 10.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004805/0.4801, allocations: 2.754 MB / 0.5874 GB, free: 7.844 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006675/0.4868, allocations: 3.977 MB / 0.5913 GB, free: 3.746 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.227e-05/0.4869, allocations: 0 / 0.5913 GB, free: 3.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01308/0.5, allocations: 6.998 MB / 0.5981 GB, free: 12.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.5001, allocations: 8 kB / 0.5981 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.5001, allocations: 4 kB / 0.5981 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/0.5027, allocations: 0.9397 MB / 0.599 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006369/0.5091, allocations: 1.662 MB / 0.6007 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.5202, allocations: 6.999 MB / 0.6075 GB, free: 2.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006986/0.5273, allocations: 0.5589 MB / 0.6081 GB, free: 2.344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007639/0.5281, allocations: 260 kB / 0.6083 GB, free: 2.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 7 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1034): * Single equations (assignments): 1032 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,56)} Notification: Performance of prepare postOptimizeDAE: time 0.001494/0.5296, allocations: 0.6798 MB / 0.609 GB, free: 1.398 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008429/0.5304, allocations: 357.8 kB / 0.6093 GB, free: 1.047 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005391/0.5358, allocations: 2.688 MB / 0.6119 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.672e-05/0.5359, allocations: 11.95 kB / 0.6119 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.5359, allocations: 4 kB / 0.6119 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/0.5378, allocations: 0.7248 MB / 0.6127 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000638/0.5384, allocations: 40 kB / 0.6127 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002516/0.541, allocations: 107.9 kB / 0.6128 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/0.5413, allocations: 189.7 kB / 0.613 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00661/0.5479, allocations: 2.653 MB / 0.6156 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004998/0.5529, allocations: 3.072 MB / 0.6186 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001246/0.5542, allocations: 0.7731 MB / 0.6193 GB, free: 6.762 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003192/0.5574, allocations: 1.77 MB / 0.6211 GB, free: 4.996 MB / 478.1 MB Notification: Performance of Backend: time 8.02e-07/0.5574, allocations: 0 / 0.6211 GB, free: 4.996 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01177/0.5692, allocations: 4.737 MB / 0.6257 GB, free: 256 kB / 478.1 MB Notification: Performance of SimCode: time 0.00934/0.5786, allocations: 5.42 MB / 0.631 GB, free: 10.78 MB / 494.1 MB Notification: Performance of Templates: time 0.08427/0.6629, allocations: 49.07 MB / 0.6789 GB, free: 9.875 MB / 0.5294 GB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1)