Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.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.OneSlackOnePVWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 108 kB / 15.6 MB, free: 132 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.001226/0.001227, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2127/0.2127, allocations: 16.77 MB / 307.2 MB, free: 14.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.00198, allocations: 67.89 kB / 371.7 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3601, allocations: 53.55 MB / 425.3 MB, free: 39.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.0103/0.3705, allocations: 10.39 MB / 435.7 MB, free: 33.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005871/0.3764, allocations: 3.518 MB / 439.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.3777, allocations: 19.34 kB / 439.2 MB, free: 30.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.379, allocations: 416.2 kB / 439.6 MB, free: 30.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003871/0.3828, allocations: 1.641 MB / 441.3 MB, free: 29.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.3841, allocations: 0.6627 MB / 441.9 MB, free: 28.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.3862, allocations: 2.02 MB / 444 MB, free: 27.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.3865, allocations: 138.1 kB / 444.1 MB, free: 27.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007135/0.3872, allocations: 0.674 MB / 444.8 MB, free: 27.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006716/0.3879, allocations: 0.7441 MB / 445.5 MB, free: 27.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.388, allocations: 82.69 kB / 445.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009967/0.389, allocations: 403.3 kB / 446 MB, free: 26.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.3892, allocations: 212.5 kB / 446.2 MB, free: 26.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005095/0.3897, allocations: 0.6505 MB / 446.8 MB, free: 26.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.3914, allocations: 1.589 MB / 448.4 MB, free: 25.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3914, allocations: 0 / 448.4 MB, free: 25.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3914, allocations: 0 / 448.4 MB, free: 25.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.3914, allocations: 0 / 448.4 MB, free: 25.73 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00624/0.3977, allocations: 2.135 MB / 450.6 MB, free: 24.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.3977, allocations: 9.156 kB / 450.6 MB, free: 24.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006448/0.3984, allocations: 173.2 kB / 450.7 MB, free: 24.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.3995, allocations: 0.7896 MB / 451.5 MB, free: 24.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/0.3996, allocations: 65.91 kB / 451.6 MB, free: 23.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.3997, allocations: 87.72 kB / 451.7 MB, free: 23.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.4009, allocations: 1.017 MB / 452.7 MB, free: 23.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.4009, allocations: 5.938 kB / 452.7 MB, free: 23.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.483e-05/0.401, allocations: 39.56 kB / 452.7 MB, free: 23.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/0.4011, allocations: 22.97 kB / 452.8 MB, free: 23.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.4021, allocations: 0.7981 MB / 453.6 MB, free: 22.94 MB / 350.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.006242/0.4084, allocations: 6.63 MB / 460.2 MB, free: 17.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.4097, allocations: 0.7212 MB / 460.9 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.41, allocations: 282.9 kB / 461.2 MB, free: 17.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.4101, allocations: 10.31 kB / 461.2 MB, free: 17.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.4101, allocations: 46.06 kB / 461.2 MB, free: 17.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.554e-06/0.4101, allocations: 4 kB / 461.2 MB, free: 17.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003162/0.4133, allocations: 1.296 MB / 462.5 MB, free: 16.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.4134, allocations: 62.22 kB / 462.6 MB, free: 16.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.4145, allocations: 0.995 MB / 463.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.4146, allocations: 43.77 kB / 463.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.4149, allocations: 0.5036 MB / 464.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.4152, allocations: 318.8 kB / 464.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006042/0.4158, allocations: 485.5 kB / 464.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.4159, allocations: 341 kB / 465.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008554/0.4167, allocations: 0.6413 MB / 465.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.4179, allocations: 0.8597 MB / 466.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.4197, allocations: 1.226 MB / 468 MB, free: 13.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.4198, allocations: 0.9375 kB / 468 MB, free: 13.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003905/0.4237, allocations: 2.146 MB / 470.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.4237, allocations: 6.781 kB / 470.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.4237, allocations: 5.562 kB / 470.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/0.4245, allocations: 183.7 kB / 470.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.4264, allocations: 0.5068 MB / 470.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/0.4299, allocations: 2.718 MB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.432, allocations: 167.2 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.4321, allocations: 84.7 kB / 473.8 MB, free: 10.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (node1.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 324 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005771/0.4327, allocations: 289.6 kB / 474.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.433, allocations: 112.4 kB / 474.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.4345, allocations: 0.7781 MB / 475 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.4346, allocations: 7.625 kB / 475 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4346, allocations: 0 / 475 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4346, allocations: 7.891 kB / 475 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.4375, allocations: 1.81 MB / 476.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4375, allocations: 0.7031 kB / 476.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.438, allocations: 115.9 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005757/0.4386, allocations: 160.8 kB / 477.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.4386, allocations: 15.73 kB / 477.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/0.4415, allocations: 2.654 MB / 479.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4415, allocations: 3.938 kB / 479.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.4435, allocations: 0.8659 MB / 480.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006669/0.4442, allocations: 275.3 kB / 480.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.4443, allocations: 16.58 kB / 480.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007775/0.4451, allocations: 30.78 kB / 480.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.4453, allocations: 49.8 kB / 481 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.4453, allocations: 26.45 kB / 481 MB, free: 5.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00115/0.4465, allocations: 0.6155 MB / 481.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4465, allocations: 0 / 481.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001859/0.4484, allocations: 0.5009 MB / 482.1 MB, free: 5.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (60): * Single equations (assignments): 59 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003388/0.4487, allocations: 173.1 kB / 482.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003678/0.4524, allocations: 1.597 MB / 483.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.4524, allocations: 0 / 483.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007668/0.4532, allocations: 495.7 kB / 484.4 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009973/0.4542, allocations: 84.88 kB / 484.4 MB, free: 4.039 MB / 350.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.002709/0.4569, allocations: 1.519 MB / 486 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/0.4576, allocations: 0.9971 MB / 487 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008027/0.4584, allocations: 184.6 kB / 487.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.4586, allocations: 80.97 kB / 487.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of SimCode: time 1.253e-06/0.4586, allocations: 3.938 kB / 487.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of Templates: time 0.02846/0.4871, allocations: 14.78 MB / 0.4902 GB, free: 7.527 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe 2>&1)