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.004578/0.004578, allocations: 97.56 kB / 15.73 MB, free: 6.035 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.0009844/0.0009845, allocations: 201.4 kB / 16.68 MB, free: 5.961 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.218/1.218, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1548/0.1548, allocations: 16.78 MB / 307.3 MB, free: 14.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 65.34 kB / 426.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07784/0.07898, allocations: 53.57 MB / 480.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.004368/0.08339, allocations: 4.597 MB / 484.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.08568, allocations: 2.509 MB / 487.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.08588, allocations: 10.34 kB / 487.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.08633, allocations: 254 kB / 487.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.08803, allocations: 1.201 MB / 488.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000708/0.08875, allocations: 470.7 kB / 489.2 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008026/0.08956, allocations: 1.049 MB / 490.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.0897, allocations: 68.78 kB / 490.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.08997, allocations: 380.8 kB / 490.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.09026, allocations: 386.3 kB / 491 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.09032, allocations: 40 kB / 491.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000377/0.0907, allocations: 299.7 kB / 491.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.09077, allocations: 115.4 kB / 491.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.09097, allocations: 350.1 kB / 491.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006642/0.09164, allocations: 0.9106 MB / 492.7 MB, free: 148 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.09166, allocations: 0 / 492.7 MB, free: 148 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.09166, allocations: 3.984 kB / 492.7 MB, free: 144 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.09168, allocations: 0 / 492.7 MB, free: 144 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.00313/0.09481, allocations: 1.27 MB / 494 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.09485, allocations: 8.031 kB / 494 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.09518, allocations: 104.4 kB / 494.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007344/0.09592, allocations: 0.5185 MB / 494.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.09596, allocations: 33.38 kB / 494.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.09602, allocations: 40.38 kB / 494.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.09665, allocations: 0.527 MB / 495.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.09668, allocations: 4 kB / 495.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.09672, allocations: 16 kB / 495.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.09674, allocations: 12 kB / 495.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005055/0.09725, allocations: 382.1 kB / 495.6 MB, free: 13.06 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.1003, allocations: 3.429 MB / 499.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.1009, allocations: 296 kB / 499.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.1011, allocations: 109.4 kB / 499.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.1011, allocations: 8.219 kB / 499.5 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1012, allocations: 38.84 kB / 499.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.343e-06/0.1012, allocations: 0 / 499.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008559/0.102, allocations: 0.5012 MB / 0.4883 GB, free: 8.441 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.1021, allocations: 59.34 kB / 0.4884 GB, free: 8.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/0.1027, allocations: 0.5963 MB / 0.4889 GB, free: 7.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.1028, allocations: 33.64 kB / 0.489 GB, free: 7.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.103, allocations: 324.8 kB / 0.4893 GB, free: 7.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.1031, allocations: 138.9 kB / 0.4894 GB, free: 7.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002925/0.1034, allocations: 246.8 kB / 0.4896 GB, free: 7.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1035, allocations: 386.7 kB / 0.49 GB, free: 6.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.104, allocations: 322.5 kB / 0.4903 GB, free: 6.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.1045, allocations: 434.5 kB / 0.4907 GB, free: 5.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.1053, allocations: 0.6078 MB / 0.4913 GB, free: 5.262 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1053, allocations: 4 kB / 0.4913 GB, free: 5.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001381/0.1067, allocations: 1.025 MB / 0.4923 GB, free: 4.223 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1067, allocations: 8 kB / 0.4923 GB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1068, allocations: 0 / 0.4923 GB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.1069, allocations: 40.77 kB / 0.4924 GB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009247/0.1079, allocations: 259.8 kB / 0.4926 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.1089, allocations: 1.434 MB / 0.494 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/0.1097, allocations: 83.45 kB / 0.4941 GB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.1097, allocations: 40 kB / 0.4941 GB, free: 2.227 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.0002291/0.11, allocations: 210.3 kB / 0.4943 GB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.1101, allocations: 63.62 kB / 0.4944 GB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005345/0.1106, allocations: 345 kB / 0.4947 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.1106, allocations: 4 kB / 0.4947 GB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1106, allocations: 0 / 0.4947 GB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1107, allocations: 7.922 kB / 0.4947 GB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.1117, allocations: 0.9893 MB / 0.4957 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.1117, allocations: 0 / 0.4957 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.112, allocations: 60 kB / 0.4958 GB, free: 480 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/0.1121, allocations: 32.83 kB / 0.4958 GB, free: 444 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.1121, allocations: 8 kB / 0.4958 GB, free: 436 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000967/0.1131, allocations: 1.422 MB / 0.4972 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1131, allocations: 3.938 kB / 0.4972 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.1136, allocations: 443.9 kB / 0.4976 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.1138, allocations: 188.6 kB / 0.4978 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.1139, allocations: 15.92 kB / 0.4978 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.1143, allocations: 23.94 kB / 0.4978 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.1144, allocations: 19.97 kB / 0.4979 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.1144, allocations: 12 kB / 0.4979 GB, free: 14.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000408/0.1148, allocations: 394.8 kB / 0.4982 GB, free: 13.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1148, allocations: 0 / 0.4982 GB, free: 13.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005979/0.1154, allocations: 247.9 kB / 0.4985 GB, free: 13.49 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.0002122/0.1157, allocations: 159.2 kB / 0.4986 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1167, allocations: 0.7832 MB / 0.4994 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1167, allocations: 0 / 0.4994 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.1171, allocations: 246.5 kB / 0.4996 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.1176, allocations: 62.22 kB / 0.4997 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1187, allocations: 0.8609 MB / 0.5005 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1191, allocations: 0.8445 MB / 0.5014 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002911/0.1194, allocations: 97.17 kB / 0.5015 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1195, allocations: 51.42 kB / 0.5015 GB, free: 10.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1195, allocations: 0 / 0.5015 GB, free: 10.3 MB / 382.1 MB Notification: Performance of Templates: time 0.01148/0.131, allocations: 7.388 MB / 0.5087 GB, free: 2.93 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)