Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.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.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00498/0.00498, allocations: 106.2 kB / 15.74 MB, free: 6 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.001211/0.001211, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1621/0.1621, allocations: 16.77 MB / 307.3 MB, free: 14.67 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 64 kB / 426.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07391/0.07507, allocations: 53.57 MB / 480.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.003953/0.07905, allocations: 4.556 MB / 484.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.08154, allocations: 2.353 MB / 487 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.08176, allocations: 15.12 kB / 487.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004679/0.08225, allocations: 236 kB / 487.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.08405, allocations: 1.184 MB / 488.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.08463, allocations: 350.5 kB / 488.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009456/0.08559, allocations: 1.035 MB / 489.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.08576, allocations: 76.3 kB / 489.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.0861, allocations: 369 kB / 490.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.0864, allocations: 382.3 kB / 490.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.08646, allocations: 40 kB / 490.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004215/0.08689, allocations: 243.8 kB / 490.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.08696, allocations: 119.4 kB / 491.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.08717, allocations: 342.1 kB / 491.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006335/0.08781, allocations: 0.8682 MB / 492.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.08782, allocations: 0 / 492.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.08783, allocations: 0 / 492.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.08784, allocations: 0 / 492.3 MB, free: 0.6016 MB / 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.002656/0.0905, allocations: 1.216 MB / 493.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.09054, allocations: 12.03 kB / 493.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.09086, allocations: 92.16 kB / 493.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/0.09162, allocations: 0.5141 MB / 494.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.09165, allocations: 29.38 kB / 494.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.09171, allocations: 44.38 kB / 494.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.09234, allocations: 0.5115 MB / 494.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.09236, allocations: 7.875 kB / 494.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.0924, allocations: 20 kB / 494.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.09242, allocations: 16 kB / 494.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.09291, allocations: 350.1 kB / 495.1 MB, free: 13.63 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.003174/0.0961, allocations: 3.396 MB / 498.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.09663, allocations: 289.1 kB / 498.7 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.09679, allocations: 96.83 kB / 498.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.09683, allocations: 7.984 kB / 498.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.09685, allocations: 34.56 kB / 498.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.09686, allocations: 0 / 498.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008936/0.09776, allocations: 483.2 kB / 499.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.0978, allocations: 55.41 kB / 499.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.09843, allocations: 0.6042 MB / 0.4883 GB, free: 8.414 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.09847, allocations: 33.7 kB / 0.4883 GB, free: 8.375 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.09867, allocations: 312 kB / 0.4886 GB, free: 8.066 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.941e-05/0.09878, allocations: 138.4 kB / 0.4887 GB, free: 7.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.09907, allocations: 238.7 kB / 0.489 GB, free: 7.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.09921, allocations: 382.8 kB / 0.4893 GB, free: 7.309 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.09966, allocations: 298.5 kB / 0.4896 GB, free: 7.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.1002, allocations: 414.5 kB / 0.49 GB, free: 6.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007145/0.1009, allocations: 0.5649 MB / 0.4906 GB, free: 6.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1009, allocations: 0 / 0.4906 GB, free: 6.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001382/0.1023, allocations: 0.989 MB / 0.4915 GB, free: 5.023 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1023, allocations: 4 kB / 0.4915 GB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1023, allocations: 12.12 kB / 0.4916 GB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.1025, allocations: 44.77 kB / 0.4916 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/0.1035, allocations: 251.6 kB / 0.4918 GB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.1035, allocations: 8 kB / 0.4918 GB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.1041, allocations: 79.27 kB / 0.4919 GB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.1042, allocations: 40 kB / 0.492 GB, free: 4.59 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 (159): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002206/0.1044, allocations: 201.6 kB / 0.4921 GB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.775e-05/0.1045, allocations: 63.19 kB / 0.4922 GB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/0.1051, allocations: 329.3 kB / 0.4925 GB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1051, allocations: 7.938 kB / 0.4925 GB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1051, allocations: 0 / 0.4925 GB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1052, allocations: 0 / 0.4925 GB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.1062, allocations: 0.94 MB / 0.4934 GB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.1062, allocations: 3.984 kB / 0.4935 GB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.1064, allocations: 47.92 kB / 0.4935 GB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/0.1066, allocations: 40.92 kB / 0.4935 GB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1066, allocations: 8 kB / 0.4935 GB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1066, allocations: 3.938 kB / 0.4935 GB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1066, allocations: 0 / 0.4935 GB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.1072, allocations: 418.1 kB / 0.4939 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.1074, allocations: 188.3 kB / 0.4941 GB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.1074, allocations: 4 kB / 0.4941 GB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.1079, allocations: 27.88 kB / 0.4942 GB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.1079, allocations: 23.86 kB / 0.4942 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/0.1079, allocations: 15.98 kB / 0.4942 GB, free: 2.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004269/0.1084, allocations: 402.8 kB / 0.4946 GB, free: 1.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1084, allocations: 0 / 0.4946 GB, free: 1.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000556/0.1089, allocations: 235.9 kB / 0.4948 GB, free: 1.523 MB / 366.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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0002006/0.1091, allocations: 143.2 kB / 0.4949 GB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008953/0.11, allocations: 0.7085 MB / 0.4956 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1101, allocations: 8.062 kB / 0.4956 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.1103, allocations: 197.8 kB / 0.4958 GB, free: 436 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.1108, allocations: 65.88 kB / 0.4959 GB, free: 372 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1119, allocations: 0.8 MB / 0.4967 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.1122, allocations: 0.8438 MB / 0.4975 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002739/0.1125, allocations: 105.1 kB / 0.4976 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.1127, allocations: 47.44 kB / 0.4976 GB, free: 14.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1127, allocations: 0 / 0.4976 GB, free: 14.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01122/0.1239, allocations: 6.948 MB / 0.5044 GB, free: 7.559 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1)