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.001148/0.001148, 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.001742/0.001742, allocations: 195.4 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2251/0.2251, allocations: 16.78 MB / 307.2 MB, free: 14.83 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 371.8 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3262, allocations: 53.54 MB / 425.3 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.02005/0.3462, allocations: 28.74 MB / 454 MB, free: 19.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01279/0.3591, allocations: 8.175 MB / 462.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003416/0.3626, allocations: 64.56 kB / 462.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.3652, allocations: 1.071 MB / 463.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008627/0.3738, allocations: 3.516 MB / 466.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.377, allocations: 1.395 MB / 468.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007809/0.3849, allocations: 6.449 MB / 474.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009967/0.3859, allocations: 456.2 kB / 475.2 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003483/0.3894, allocations: 2.141 MB / 477.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004091/0.3935, allocations: 2.381 MB / 479.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.3948, allocations: 255.8 kB / 479.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.399, allocations: 0.7449 MB / 480.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.4003, allocations: 0.6612 MB / 481.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004656/0.4049, allocations: 2.075 MB / 483.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007613/0.4126, allocations: 4.625 MB / 488 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.4126, allocations: 1.344 kB / 488 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4126, allocations: 0 / 488 MB, free: 376 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001358/0.4127, allocations: 0 / 488 MB, free: 376 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.02448/0.4372, allocations: 5.978 MB / 494 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.4373, allocations: 10.34 kB / 494 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/0.44, allocations: 0.5324 MB / 494.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00455/0.4445, allocations: 2.121 MB / 496.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.4447, allocations: 209.2 kB / 496.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/0.445, allocations: 270.9 kB / 497.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.4495, allocations: 3.174 MB / 0.4886 GB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.934e-05/0.4496, allocations: 24.14 kB / 0.4886 GB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/0.4498, allocations: 120.2 kB / 0.4887 GB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.407e-05/0.4499, allocations: 75.94 kB / 0.4888 GB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003897/0.4538, allocations: 2.528 MB / 0.4913 GB, free: 7.031 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.02678/0.4806, allocations: 20.54 MB / 0.5113 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/0.486, allocations: 2.532 MB / 0.5138 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.4878, allocations: 0.9521 MB / 0.5147 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.488, allocations: 41.91 kB / 0.5148 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.488, allocations: 64.56 kB / 0.5148 GB, free: 13.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=252): time 4.288e-06/0.488, allocations: 0 / 0.5148 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=252): time 0.02177/0.5098, allocations: 5.985 MB / 0.5207 GB, free: 7.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.5099, allocations: 77.41 kB / 0.5208 GB, free: 7.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005808/0.5157, allocations: 2.942 MB / 0.5236 GB, free: 4.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004677/0.5162, allocations: 73.7 kB / 0.5237 GB, free: 4.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.5177, allocations: 1.412 MB / 0.5251 GB, free: 3.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001594/0.5193, allocations: 1.014 MB / 0.5261 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004102/0.5235, allocations: 1.516 MB / 0.5275 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.5236, allocations: 301.1 kB / 0.5278 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003927/0.5275, allocations: 2.075 MB / 0.5299 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004428/0.5319, allocations: 2.749 MB / 0.5325 GB, free: 11.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006351/0.5383, allocations: 3.975 MB / 0.5364 GB, free: 7.535 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.5383, allocations: 0 / 0.5364 GB, free: 7.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01181/0.5502, allocations: 6.98 MB / 0.5432 GB, free: 476 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.5502, allocations: 8 kB / 0.5432 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.5503, allocations: 4 kB / 0.5433 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/0.5528, allocations: 0.9397 MB / 0.5442 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00603/0.5588, allocations: 1.658 MB / 0.5458 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.5694, allocations: 7.012 MB / 0.5526 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007894/0.5774, allocations: 0.5459 MB / 0.5532 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/0.5786, allocations: 256 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.001882/0.5805, allocations: 0.6838 MB / 0.5541 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009734/0.5814, allocations: 351.9 kB / 0.5544 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005082/0.5865, allocations: 2.682 MB / 0.557 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.5866, allocations: 24 kB / 0.5571 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5866, allocations: 0 / 0.5571 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.5866, allocations: 19.89 kB / 0.5571 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009409/0.596, allocations: 5.542 MB / 0.5625 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.5961, allocations: 3.938 kB / 0.5625 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.5975, allocations: 375.6 kB / 0.5629 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002305/0.5998, allocations: 0.752 MB / 0.5636 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.6, allocations: 44 kB / 0.5636 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009884/0.6099, allocations: 6.777 MB / 0.5702 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6099, allocations: 0 / 0.5702 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006078/0.616, allocations: 2.751 MB / 0.5729 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002724/0.6188, allocations: 0.7034 MB / 0.5736 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009176/0.6197, allocations: 40 kB / 0.5737 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002635/0.6223, allocations: 111.9 kB / 0.5738 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/0.6227, allocations: 161.7 kB / 0.5739 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.6228, allocations: 79.97 kB / 0.574 GB, free: 448 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002618/0.6255, allocations: 1.766 MB / 0.5757 GB, free: 14.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6255, allocations: 0 / 0.5757 GB, free: 14.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004524/0.63, allocations: 1.617 MB / 0.5773 GB, free: 13.06 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.0005574/0.6306, allocations: 288.3 kB / 0.5776 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01155/0.6421, allocations: 5.165 MB / 0.5826 GB, free: 7.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.6422, allocations: 128 / 0.5826 GB, free: 7.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002732/0.6449, allocations: 1.558 MB / 0.5841 GB, free: 5.977 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.648, allocations: 256.7 kB / 0.5844 GB, free: 5.727 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.007572/0.6556, allocations: 4.636 MB / 0.5889 GB, free: 1.066 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2068/0.8624, allocations: 1.723 MB / 0.5906 GB, free: 136.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002926/0.8654, allocations: 0.5589 MB / 0.5911 GB, free: 136 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007575/0.8661, allocations: 242.5 kB / 0.5914 GB, free: 136 MB / 462.1 MB Notification: Performance of SimCode: time 1.442e-06/0.8661, allocations: 0 / 0.5914 GB, free: 136 MB / 462.1 MB Notification: Performance of Templates: time 0.09066/0.9568, 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1)