Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad") translateModel(PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.00164, allocations: 180.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 221.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00091/0.00091, allocations: 100.2 kB / 269.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06351/0.06351, allocations: 14.18 MB / 330.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 51.86 kB / 391.6 MB, free: 64.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.08928, allocations: 50.15 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad): time 0.008613/0.09794, allocations: 12.13 MB / 453.9 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008108/0.1061, allocations: 5.111 MB / 459 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.1077, allocations: 43.81 kB / 459.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.1094, allocations: 0.5561 MB / 459.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005785/0.1152, allocations: 2.216 MB / 461.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.1164, allocations: 0.5571 MB / 462.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004642/0.1211, allocations: 3.615 MB / 466 MB, free: 6.402 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005459/0.1216, allocations: 212.5 kB / 466.2 MB, free: 6.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.1235, allocations: 0.9837 MB / 467.2 MB, free: 5.184 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.1256, allocations: 1.003 MB / 468.2 MB, free: 4.176 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004036/0.126, allocations: 52 kB / 468.3 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.1281, allocations: 411.7 kB / 468.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.1285, allocations: 218.6 kB / 468.9 MB, free: 3.508 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001813/0.1304, allocations: 0.9014 MB / 469.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003388/0.1338, allocations: 2.247 MB / 472 MB, free: 356 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1338, allocations: 0 / 472 MB, free: 356 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1338, allocations: 0 / 472 MB, free: 356 kB / 314.7 MB Notification: Performance of Transformations before backend: time 7.968e-05/0.1339, allocations: 0 / 472 MB, free: 356 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.009075/0.143, allocations: 2.829 MB / 474.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.143, allocations: 11.97 kB / 474.9 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.1443, allocations: 278.7 kB / 475.1 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.1468, allocations: 1.066 MB / 476.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.147, allocations: 182.1 kB / 476.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002639/0.1473, allocations: 140 kB / 476.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/0.1501, allocations: 1.43 MB / 477.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.1502, allocations: 7.938 kB / 477.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.1503, allocations: 56 kB / 478 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.1504, allocations: 36 kB / 478 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.1527, allocations: 1.388 MB / 479.4 MB, free: 8.699 MB / 330.7 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.2204/0.3731, allocations: 8.847 MB / 488.3 MB, free: 46.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/0.3768, allocations: 1.55 MB / 489.8 MB, free: 46.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000932/0.3778, allocations: 0.5942 MB / 490.4 MB, free: 46.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.3779, allocations: 21.7 kB / 490.4 MB, free: 46.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001454/0.3794, allocations: 1.206 MB / 491.6 MB, free: 45.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=167): time 3.947e-06/0.3794, allocations: 0 / 491.6 MB, free: 45.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=167): time 0.009177/0.3886, allocations: 3.194 MB / 494.8 MB, free: 44.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.3888, allocations: 0.541 MB / 495.4 MB, free: 44.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.3903, allocations: 0.7949 MB / 496.2 MB, free: 43.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.3904, allocations: 57.34 kB / 496.2 MB, free: 43.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005269/0.3909, allocations: 0.5894 MB / 496.8 MB, free: 43.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004807/0.3914, allocations: 0.5405 MB / 497.4 MB, free: 42.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000437/0.3919, allocations: 255 kB / 497.6 MB, free: 42.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.512e-05/0.3919, allocations: 309.9 kB / 497.9 MB, free: 42.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008665/0.3928, allocations: 447.9 kB / 498.3 MB, free: 42.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.3939, allocations: 0.6859 MB / 499 MB, free: 41.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.3957, allocations: 1.362 MB / 0.4887 GB, free: 41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.3957, allocations: 2.75 kB / 0.4887 GB, free: 41 MB / 330.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003903/0.3996, allocations: 1.946 MB / 0.4906 GB, free: 40.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/0.3997, allocations: 130.4 kB / 0.4907 GB, free: 39.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.3998, allocations: 10.66 kB / 0.4907 GB, free: 39.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.4014, allocations: 461.4 kB / 0.4911 GB, free: 39.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.4028, allocations: 314.7 kB / 0.4914 GB, free: 39.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006212/0.4091, allocations: 4.04 MB / 0.4954 GB, free: 37.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.4104, allocations: 104.7 kB / 0.4955 GB, free: 37.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.4106, allocations: 59.89 kB / 0.4955 GB, free: 37.14 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 28 (transmissionLine2.breakerStatusInternalB,transmissionLine2.breakerStatusInternalA,transmissionLine1.breakerStatusInternalB,transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine2.breakerStatusInternalB,$PRE.transmissionLine2.breakerStatusInternalA,$PRE.transmissionLine1.breakerStatusInternalB,$PRE.transmissionLine1.breakerStatusInternalA,transmissionLine2.breakerStatus,$PRE.transmissionLine2.breakerStatus,transmissionLine1.breakerStatus,$PRE.transmissionLine1.breakerStatus,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 4 * 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 {(6,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0008301/0.4115, allocations: 423.5 kB / 0.496 GB, free: 36.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/0.4119, allocations: 149.1 kB / 0.4961 GB, free: 36.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/0.4157, allocations: 1.894 MB / 0.4979 GB, free: 35.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.4157, allocations: 16.91 kB / 0.498 GB, free: 35.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4157, allocations: 4.875 kB / 0.498 GB, free: 35.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.4158, allocations: 11.06 kB / 0.498 GB, free: 35.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005936/0.4217, allocations: 3.431 MB / 0.5013 GB, free: 34.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.4217, allocations: 0 / 0.5013 GB, free: 34.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.4228, allocations: 266.2 kB / 0.5016 GB, free: 33.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.424, allocations: 427.3 kB / 0.502 GB, free: 33.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-05/0.4241, allocations: 39.14 kB / 0.502 GB, free: 33.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005156/0.4293, allocations: 3.947 MB / 0.5059 GB, free: 30.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4293, allocations: 0 / 0.5059 GB, free: 30.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004077/0.4334, allocations: 3.305 MB / 0.5091 GB, free: 27.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006094/0.434, allocations: 327.9 kB / 0.5094 GB, free: 26.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.4342, allocations: 39.92 kB / 0.5095 GB, free: 26.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/0.4351, allocations: 63.69 kB / 0.5095 GB, free: 26.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.4353, allocations: 126.2 kB / 0.5096 GB, free: 26.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-05/0.4354, allocations: 40 kB / 0.5097 GB, free: 26.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006205/0.436, allocations: 0.5365 MB / 0.5102 GB, free: 25.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.303e-06/0.436, allocations: 4 kB / 0.5102 GB, free: 25.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001576/0.4376, allocations: 0.5592 MB / 0.5108 GB, free: 25.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,transmissionLine1.breakerStatus,transmissionLine2.breakerStatus) * Number of discrete states: 18 (transmissionLine2.breakerStatus,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,transmissionLine1.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * 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 {(6,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003467/0.438, allocations: 225.5 kB / 0.511 GB, free: 25.09 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.002772/0.4408, allocations: 2.016 MB / 0.5129 GB, free: 23.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4408, allocations: 3.938 kB / 0.5129 GB, free: 23.01 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.001573/0.4424, allocations: 1.39 MB / 0.5143 GB, free: 21.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009038/0.4433, allocations: 163.7 kB / 0.5145 GB, free: 21.42 MB / 330.7 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.004741/0.448, allocations: 3.824 MB / 0.5182 GB, free: 17.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.4486, allocations: 1.247 MB / 0.5194 GB, free: 16.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008378/0.4495, allocations: 178.1 kB / 0.5196 GB, free: 16.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.4497, allocations: 79.44 kB / 0.5197 GB, free: 16.05 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4497, allocations: 0 / 0.5197 GB, free: 16.05 MB / 330.7 MB Notification: Performance of Templates: time 0.02912/0.4788, allocations: 18.94 MB / 0.5381 GB, free: 13.28 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.pipe 2>&1)