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.005176/0.005176, allocations: 102.8 kB / 15.73 MB, free: 6.484 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.00126/0.00126, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1628/0.1628, allocations: 16.78 MB / 307.3 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 64.02 kB / 426.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08/0.08118, allocations: 53.57 MB / 480.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.004043/0.08525, allocations: 4.593 MB / 484.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.08782, allocations: 2.516 MB / 487.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.08806, allocations: 11 kB / 487.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.08856, allocations: 250.7 kB / 487.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.09036, allocations: 1.197 MB / 488.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007554/0.09112, allocations: 477.3 kB / 489.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000902/0.09203, allocations: 1.046 MB / 490.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.09218, allocations: 68.89 kB / 490.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.09248, allocations: 373.4 kB / 490.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.09279, allocations: 382.3 kB / 491 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.09286, allocations: 44 kB / 491.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.0933, allocations: 299.7 kB / 491.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.09337, allocations: 115.4 kB / 491.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.09357, allocations: 354.1 kB / 491.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006569/0.09423, allocations: 0.9072 MB / 492.7 MB, free: 240 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.09425, allocations: 0 / 492.7 MB, free: 240 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09426, allocations: 0 / 492.7 MB, free: 240 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.09427, allocations: 0 / 492.7 MB, free: 240 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002972/0.09724, allocations: 1.243 MB / 494 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.09729, allocations: 16.02 kB / 494 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/0.09763, allocations: 96.02 kB / 494.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.09837, allocations: 0.5258 MB / 494.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.09841, allocations: 33.38 kB / 494.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.09846, allocations: 40.38 kB / 494.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.09908, allocations: 0.5193 MB / 495.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.09911, allocations: 3.938 kB / 495.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.09915, allocations: 20 kB / 495.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.09917, allocations: 12 kB / 495.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005148/0.09969, allocations: 378.1 kB / 495.6 MB, free: 13.19 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.003077/0.1028, allocations: 3.421 MB / 499 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005678/0.1034, allocations: 309.7 kB / 499.3 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.1035, allocations: 113.4 kB / 499.4 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.1036, allocations: 4.281 kB / 499.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1036, allocations: 38.84 kB / 499.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.1036, allocations: 0 / 499.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008605/0.1045, allocations: 0.497 MB / 500 MB, free: 8.566 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.1045, allocations: 59.34 kB / 0.4883 GB, free: 8.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.1051, allocations: 0.6 MB / 0.4889 GB, free: 7.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1052, allocations: 29.7 kB / 0.4889 GB, free: 7.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.1054, allocations: 308.1 kB / 0.4892 GB, free: 7.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.1055, allocations: 142.3 kB / 0.4894 GB, free: 7.402 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.1058, allocations: 246.6 kB / 0.4896 GB, free: 7.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1059, allocations: 386.7 kB / 0.49 GB, free: 6.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.1064, allocations: 322.5 kB / 0.4903 GB, free: 6.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/0.1069, allocations: 438.5 kB / 0.4907 GB, free: 6.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007699/0.1077, allocations: 0.6038 MB / 0.4913 GB, free: 5.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1077, allocations: 4 kB / 0.4913 GB, free: 5.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001398/0.1091, allocations: 1.024 MB / 0.4923 GB, free: 4.359 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1092, allocations: 8 kB / 0.4923 GB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1092, allocations: 0 / 0.4923 GB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.1093, allocations: 32.78 kB / 0.4923 GB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009177/0.1103, allocations: 263.6 kB / 0.4926 GB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009945/0.1113, allocations: 1.438 MB / 0.494 GB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006662/0.112, allocations: 87.3 kB / 0.4941 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.112, allocations: 36 kB / 0.4941 GB, free: 2.363 MB / 366.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.0002199/0.1122, allocations: 205.5 kB / 0.4943 GB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/0.1123, allocations: 59.25 kB / 0.4944 GB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000549/0.1129, allocations: 348.9 kB / 0.4947 GB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1129, allocations: 8.062 kB / 0.4947 GB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1129, allocations: 0 / 0.4947 GB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1129, allocations: 3.938 kB / 0.4947 GB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.114, allocations: 0.9893 MB / 0.4957 GB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.114, allocations: 0 / 0.4957 GB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.1142, allocations: 47.97 kB / 0.4957 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.1143, allocations: 40.88 kB / 0.4957 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.1144, allocations: 8 kB / 0.4958 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009193/0.1153, allocations: 1.422 MB / 0.4971 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1153, allocations: 7.875 kB / 0.4972 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.1158, allocations: 439.7 kB / 0.4976 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.116, allocations: 184.2 kB / 0.4977 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.1161, allocations: 11.94 kB / 0.4978 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.1165, allocations: 19.98 kB / 0.4978 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.1166, allocations: 19.91 kB / 0.4978 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.1166, allocations: 19.98 kB / 0.4978 GB, free: 14.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004071/0.117, allocations: 390.8 kB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.117, allocations: 0 / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005916/0.1176, allocations: 247.8 kB / 0.4984 GB, free: 13.64 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.0002074/0.1178, allocations: 159.3 kB / 0.4986 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.1189, allocations: 0.7871 MB / 0.4993 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1189, allocations: 0 / 0.4993 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.1192, allocations: 242.5 kB / 0.4996 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.1197, allocations: 64.7 kB / 0.4996 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1208, allocations: 0.8465 MB / 0.5005 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.1212, allocations: 0.8445 MB / 0.5013 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002792/0.1215, allocations: 97.17 kB / 0.5014 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.1216, allocations: 51.44 kB / 0.5014 GB, free: 10.47 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1216, allocations: 0 / 0.5014 GB, free: 10.47 MB / 382.1 MB Notification: Performance of Templates: time 0.01157/0.1332, allocations: 7.386 MB / 0.5086 GB, free: 3.098 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)