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.001166/0.001166, allocations: 106.3 kB / 16.27 MB, free: 5.969 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.00113/0.00113, allocations: 191.4 kB / 17.2 MB, free: 5.594 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07699/0.07699, allocations: 16.78 MB / 307.8 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 58 kB / 372.4 MB, free: 48.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1255, allocations: 53.57 MB / 426 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.02355/0.1491, allocations: 28.73 MB / 454.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01586/0.1651, allocations: 8.167 MB / 462.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006083/0.1712, allocations: 63.69 kB / 462.9 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004413/0.1757, allocations: 1.071 MB / 464 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.1885, allocations: 3.521 MB / 467.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.1928, allocations: 1.394 MB / 468.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01073/0.2036, allocations: 6.458 MB / 475.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.2049, allocations: 448.7 kB / 475.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004288/0.2092, allocations: 2.148 MB / 478 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004768/0.214, allocations: 2.377 MB / 480.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00152/0.2155, allocations: 256 kB / 480.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004476/0.22, allocations: 0.738 MB / 481.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001489/0.2215, allocations: 0.6685 MB / 482 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005621/0.2271, allocations: 2.071 MB / 484.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009363/0.2365, allocations: 4.627 MB / 488.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.2366, allocations: 0 / 488.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2366, allocations: 0 / 488.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002013/0.2368, allocations: 0 / 488.7 MB, free: 13.75 MB / 366.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.02558/0.2624, allocations: 5.979 MB / 494.7 MB, free: 7.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.807e-05/0.2625, allocations: 12.03 kB / 494.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/0.2654, allocations: 0.5353 MB / 495.2 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005547/0.2709, allocations: 2.119 MB / 497.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.2711, allocations: 209.5 kB / 497.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003642/0.2715, allocations: 272.3 kB / 497.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005196/0.2767, allocations: 3.168 MB / 0.4892 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.966e-05/0.2768, allocations: 23.81 kB / 0.4893 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/0.2771, allocations: 123.9 kB / 0.4894 GB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/0.2772, allocations: 68 kB / 0.4894 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.2816, allocations: 2.537 MB / 0.4919 GB, free: 14.09 MB / 382.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.3248/0.6065, allocations: 20.54 MB / 0.512 GB, free: 64.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007117/0.6136, allocations: 2.517 MB / 0.5144 GB, free: 64.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.6152, allocations: 0.9563 MB / 0.5154 GB, free: 64.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.6153, allocations: 33.88 kB / 0.5154 GB, free: 64.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/0.6154, allocations: 63.25 kB / 0.5155 GB, free: 64.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=252): time 5.04e-06/0.6154, allocations: 0 / 0.5155 GB, free: 64.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.02177/0.6372, allocations: 5.985 MB / 0.5213 GB, free: 62.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.6373, allocations: 81.09 kB / 0.5214 GB, free: 62.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00515/0.6425, allocations: 2.943 MB / 0.5243 GB, free: 61.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003604/0.6428, allocations: 74.39 kB / 0.5243 GB, free: 61.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.6439, allocations: 1.421 MB / 0.5257 GB, free: 60.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001151/0.645, allocations: 1.008 MB / 0.5267 GB, free: 60.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001963/0.647, allocations: 1.508 MB / 0.5282 GB, free: 59.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.6471, allocations: 305.1 kB / 0.5285 GB, free: 58.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/0.65, allocations: 2.081 MB / 0.5305 GB, free: 57.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/0.6537, allocations: 2.747 MB / 0.5332 GB, free: 56.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005364/0.6591, allocations: 3.975 MB / 0.5371 GB, free: 54.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.6591, allocations: 4 kB / 0.5371 GB, free: 54.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01007/0.6692, allocations: 6.979 MB / 0.5439 GB, free: 47.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.6692, allocations: 7.938 kB / 0.5439 GB, free: 47.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.6693, allocations: 4 kB / 0.5439 GB, free: 47.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/0.6716, allocations: 0.942 MB / 0.5448 GB, free: 46.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005861/0.6775, allocations: 1.658 MB / 0.5464 GB, free: 44.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009136/0.6866, allocations: 7.011 MB / 0.5533 GB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006726/0.6934, allocations: 0.5419 MB / 0.5538 GB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006429/0.694, allocations: 260 kB / 0.5541 GB, free: 36.59 MB / 382.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.001355/0.6954, allocations: 0.6805 MB / 0.5547 GB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000675/0.6961, allocations: 339.7 kB / 0.555 GB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/0.7005, allocations: 2.69 MB / 0.5577 GB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.7005, allocations: 28 kB / 0.5577 GB, free: 32.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7005, allocations: 0 / 0.5577 GB, free: 32.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/0.7006, allocations: 11.95 kB / 0.5577 GB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00808/0.7086, allocations: 5.549 MB / 0.5631 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.7087, allocations: 0 / 0.5631 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.7101, allocations: 375.6 kB / 0.5635 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/0.7122, allocations: 0.7481 MB / 0.5642 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.7123, allocations: 47.98 kB / 0.5643 GB, free: 26.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008412/0.7207, allocations: 6.78 MB / 0.5709 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.7208, allocations: 0 / 0.5709 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.7264, allocations: 2.755 MB / 0.5736 GB, free: 16.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/0.7285, allocations: 0.7074 MB / 0.5743 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007549/0.7293, allocations: 45.58 kB / 0.5743 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00261/0.7319, allocations: 107.8 kB / 0.5744 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/0.7322, allocations: 153.8 kB / 0.5746 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.7323, allocations: 75.97 kB / 0.5746 GB, free: 15.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002304/0.7347, allocations: 1.77 MB / 0.5764 GB, free: 13.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7347, allocations: 0 / 0.5764 GB, free: 13.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004199/0.7389, allocations: 1.605 MB / 0.5779 GB, free: 11.86 MB / 382.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.0004825/0.7394, allocations: 304 kB / 0.5782 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/0.7498, allocations: 5.158 MB / 0.5833 GB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.7499, allocations: 4.812 kB / 0.5833 GB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.7521, allocations: 1.55 MB / 0.5848 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.7547, allocations: 261.6 kB / 0.585 GB, free: 4.566 MB / 382.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.007192/0.7619, allocations: 4.689 MB / 0.5896 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.7634, allocations: 1.723 MB / 0.5913 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.7647, allocations: 275.4 kB / 0.5916 GB, free: 13.84 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.7647, allocations: 0 / 0.5916 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Templates: time 0.09333/0.858, allocations: 69.55 MB / 0.6595 GB, free: 8.18 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1)