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.001173/0.001173, 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.001166/0.001166, allocations: 196.6 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.204/1.204, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1899/0.1899, allocations: 16.78 MB / 307.2 MB, free: 14.84 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 71.88 kB / 371.8 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2393, allocations: 53.55 MB / 425.3 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.0153/0.2547, allocations: 28.73 MB / 454 MB, free: 19.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009/0.2637, allocations: 8.178 MB / 462.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/0.2663, allocations: 63.72 kB / 462.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.2685, allocations: 1.072 MB / 463.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007225/0.2757, allocations: 3.517 MB / 466.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.2785, allocations: 1.396 MB / 468.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005805/0.2843, allocations: 6.452 MB / 474.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008218/0.2851, allocations: 461.3 kB / 475.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.2881, allocations: 2.144 MB / 477.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003601/0.2917, allocations: 2.381 MB / 479.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009755/0.2927, allocations: 255 kB / 479.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.2958, allocations: 0.7383 MB / 480.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009689/0.2968, allocations: 0.6689 MB / 481.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004296/0.3011, allocations: 2.075 MB / 483.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006823/0.3079, allocations: 4.626 MB / 488.1 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.308, allocations: 0 / 488.1 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.308, allocations: 1.719 kB / 488.1 MB, free: 336 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.719e-05/0.3081, allocations: 0 / 488.1 MB, free: 336 kB / 350.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.021/0.3291, allocations: 5.975 MB / 494 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3291, allocations: 8 kB / 494 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.3314, allocations: 0.5374 MB / 494.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003584/0.3349, allocations: 2.122 MB / 496.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.3351, allocations: 208.7 kB / 496.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/0.3354, allocations: 271.6 kB / 497.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/0.3393, allocations: 3.175 MB / 0.4886 GB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.3394, allocations: 20 kB / 0.4886 GB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/0.3396, allocations: 119.9 kB / 0.4887 GB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.715e-05/0.3397, allocations: 70.72 kB / 0.4888 GB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003583/0.3433, allocations: 2.526 MB / 0.4913 GB, free: 7.043 MB / 366.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.02085/0.3641, allocations: 20.55 MB / 0.5114 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004323/0.3685, allocations: 2.517 MB / 0.5138 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.3698, allocations: 0.956 MB / 0.5147 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.37, allocations: 45.95 kB / 0.5148 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.37, allocations: 60.56 kB / 0.5148 GB, free: 13.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=252): time 5.27e-06/0.37, allocations: 0 / 0.5148 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=252): time 0.02037/0.3904, allocations: 5.982 MB / 0.5207 GB, free: 7.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.3905, allocations: 77.41 kB / 0.5208 GB, free: 7.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004689/0.3952, allocations: 2.942 MB / 0.5236 GB, free: 4.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003253/0.3955, allocations: 77.7 kB / 0.5237 GB, free: 4.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.3968, allocations: 1.416 MB / 0.5251 GB, free: 3.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001238/0.398, allocations: 1.015 MB / 0.5261 GB, free: 2.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002748/0.4008, allocations: 1.512 MB / 0.5276 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.4009, allocations: 305.1 kB / 0.5278 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003239/0.4041, allocations: 2.071 MB / 0.5299 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003835/0.408, allocations: 2.752 MB / 0.5326 GB, free: 11.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005664/0.4137, allocations: 3.971 MB / 0.5364 GB, free: 7.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.4137, allocations: 4 kB / 0.5364 GB, free: 7.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01175/0.4254, allocations: 6.98 MB / 0.5433 GB, free: 476 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.4255, allocations: 5.25 kB / 0.5433 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.4255, allocations: 8 kB / 0.5433 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/0.428, allocations: 0.9358 MB / 0.5442 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005866/0.4339, allocations: 1.658 MB / 0.5458 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.4444, allocations: 7.011 MB / 0.5526 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006534/0.451, allocations: 0.5419 MB / 0.5532 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008332/0.4518, allocations: 268 kB / 0.5534 GB, free: 5.879 MB / 430.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.001724/0.4535, allocations: 0.6721 MB / 0.5541 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009604/0.4545, allocations: 339.9 kB / 0.5544 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00507/0.4596, allocations: 2.697 MB / 0.557 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.4596, allocations: 28 kB / 0.5571 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4596, allocations: 0 / 0.5571 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/0.4597, allocations: 12.06 kB / 0.5571 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009089/0.4688, allocations: 5.546 MB / 0.5625 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.4688, allocations: 3.938 kB / 0.5625 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.4702, allocations: 375.6 kB / 0.5629 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/0.4724, allocations: 0.7481 MB / 0.5636 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.4725, allocations: 47.98 kB / 0.5636 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009588/0.4821, allocations: 6.773 MB / 0.5703 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4821, allocations: 160 / 0.5703 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00576/0.4879, allocations: 2.747 MB / 0.5729 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00214/0.4901, allocations: 0.7112 MB / 0.5736 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/0.4911, allocations: 40 kB / 0.5737 GB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002883/0.494, allocations: 115.8 kB / 0.5738 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.4943, allocations: 157.7 kB / 0.5739 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/0.4945, allocations: 75.97 kB / 0.574 GB, free: 460 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0027/0.4972, allocations: 1.766 MB / 0.5757 GB, free: 14.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4972, allocations: 0 / 0.5757 GB, free: 14.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004296/0.5015, allocations: 1.613 MB / 0.5773 GB, free: 13.07 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (188): * Single equations (assignments): 186 * 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 Backend phase and start with SimCode phase: time 0.000533/0.502, allocations: 300.2 kB / 0.5776 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01213/0.5142, allocations: 5.153 MB / 0.5826 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.5142, allocations: 8.75 kB / 0.5826 GB, free: 7.578 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002723/0.5169, allocations: 1.554 MB / 0.5841 GB, free: 5.988 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/0.5205, allocations: 264.9 kB / 0.5844 GB, free: 5.73 MB / 462.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.007568/0.5281, allocations: 4.633 MB / 0.5889 GB, free: 1.074 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1522/0.6804, allocations: 1.727 MB / 0.5906 GB, free: 136 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002558/0.683, allocations: 0.5518 MB / 0.5912 GB, free: 136 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/0.6836, allocations: 245.6 kB / 0.5914 GB, free: 136 MB / 462.1 MB Notification: Performance of SimCode: time 1.283e-06/0.6836, allocations: 3.969 kB / 0.5914 GB, free: 136 MB / 462.1 MB Notification: Performance of Templates: time 0.06395/0.7475, allocations: 48.39 MB / 0.6386 GB, free: 118.4 MB / 462.1 MB 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1)