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.004727/0.004727, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.00112/0.00112, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.211/1.211, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07182/0.07182, allocations: 16.79 MB / 307.3 MB, free: 14.38 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.91 kB / 426.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08953/0.09067, allocations: 53.56 MB / 480.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.004882/0.0956, allocations: 4.589 MB / 484.7 MB, free: 360 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.09848, allocations: 2.512 MB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.09866, allocations: 11.88 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.09918, allocations: 250.5 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.1012, allocations: 1.203 MB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.1021, allocations: 484.7 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.1031, allocations: 1.05 MB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1032, allocations: 69.75 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.1036, allocations: 370.4 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003874/0.104, allocations: 386.3 kB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-05/0.104, allocations: 40 kB / 491.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.1045, allocations: 299.7 kB / 491.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1046, allocations: 111.4 kB / 491.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.1049, allocations: 362.1 kB / 491.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008937/0.1058, allocations: 0.9072 MB / 492.7 MB, free: 8.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1058, allocations: 0 / 492.7 MB, free: 8.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1058, allocations: 0 / 492.7 MB, free: 8.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1058, allocations: 0 / 492.7 MB, free: 8.32 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003116/0.1089, allocations: 1.243 MB / 494 MB, free: 7.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.109, allocations: 12.02 kB / 494 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.1093, allocations: 96.02 kB / 494.1 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/0.1101, allocations: 0.5258 MB / 494.6 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.1101, allocations: 33.38 kB / 494.6 MB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.1102, allocations: 40.38 kB / 494.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000623/0.1108, allocations: 0.5193 MB / 495.2 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1108, allocations: 3.938 kB / 495.2 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.1109, allocations: 20 kB / 495.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1109, allocations: 8 kB / 495.2 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.1114, allocations: 378.1 kB / 495.6 MB, free: 5.281 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.003225/0.1146, allocations: 3.421 MB / 499 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.1152, allocations: 304.8 kB / 499.3 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.1154, allocations: 113.4 kB / 499.4 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.1154, allocations: 4.281 kB / 499.4 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1155, allocations: 34.84 kB / 499.5 MB, free: 1.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.1155, allocations: 0 / 499.5 MB, free: 1.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008759/0.1163, allocations: 0.497 MB / 500 MB, free: 0.668 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1164, allocations: 59.34 kB / 0.4883 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006071/0.117, allocations: 0.6 MB / 0.4889 GB, free: 15.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.117, allocations: 37.7 kB / 0.4889 GB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1172, allocations: 304.1 kB / 0.4892 GB, free: 15.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1173, allocations: 138.3 kB / 0.4893 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/0.1176, allocations: 246.6 kB / 0.4896 GB, free: 15.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1178, allocations: 382.7 kB / 0.4899 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/0.1183, allocations: 326.5 kB / 0.4903 GB, free: 14.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.1188, allocations: 430.5 kB / 0.4907 GB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.1196, allocations: 0.6154 MB / 0.4913 GB, free: 13.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1196, allocations: 0 / 0.4913 GB, free: 13.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001385/0.121, allocations: 1.028 MB / 0.4923 GB, free: 12.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.121, allocations: 4 kB / 0.4923 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.121, allocations: 4 kB / 0.4923 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.1212, allocations: 32.78 kB / 0.4923 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009103/0.1221, allocations: 263.6 kB / 0.4926 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009919/0.1231, allocations: 1.43 MB / 0.494 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/0.1238, allocations: 95.36 kB / 0.494 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.1239, allocations: 36 kB / 0.4941 GB, free: 10.46 MB / 382.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.0002193/0.1241, allocations: 205.5 kB / 0.4943 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.671e-05/0.1242, allocations: 59.25 kB / 0.4943 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005698/0.1248, allocations: 348.9 kB / 0.4947 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1248, allocations: 0 / 0.4947 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1248, allocations: 8 kB / 0.4947 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1248, allocations: 3.938 kB / 0.4947 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1258, allocations: 0.9815 MB / 0.4956 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1259, allocations: 0 / 0.4956 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.1261, allocations: 55.91 kB / 0.4957 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.1262, allocations: 32.94 kB / 0.4957 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.1262, allocations: 8 kB / 0.4957 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009194/0.1272, allocations: 1.426 MB / 0.4971 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1272, allocations: 3.938 kB / 0.4971 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005264/0.1277, allocations: 447.1 kB / 0.4975 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.1279, allocations: 184.2 kB / 0.4977 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.128, allocations: 7.938 kB / 0.4977 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.1284, allocations: 23.98 kB / 0.4978 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1285, allocations: 15.97 kB / 0.4978 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.1285, allocations: 19.92 kB / 0.4978 GB, free: 6.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004087/0.1289, allocations: 390.8 kB / 0.4982 GB, free: 5.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1289, allocations: 4 kB / 0.4982 GB, free: 5.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005855/0.1295, allocations: 243.8 kB / 0.4984 GB, free: 5.746 MB / 382.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.0002068/0.1297, allocations: 147.4 kB / 0.4985 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.1308, allocations: 0.791 MB / 0.4993 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1308, allocations: 0 / 0.4993 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.1311, allocations: 242.5 kB / 0.4995 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.1316, allocations: 62.22 kB / 0.4996 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.1327, allocations: 0.8506 MB / 0.5004 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1331, allocations: 0.8484 MB / 0.5013 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.1334, allocations: 105.1 kB / 0.5014 GB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.1335, allocations: 47.44 kB / 0.5014 GB, free: 2.566 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1335, allocations: 0 / 0.5014 GB, free: 2.566 MB / 382.1 MB Notification: Performance of Templates: time 0.185/0.3185, allocations: 7.378 MB / 0.5086 GB, free: 33.39 MB / 382.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)