Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB.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.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB") translateModel(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 183.1 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.298/1.298, allocations: 205.1 MB / 221.8 MB, free: 8.473 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.001077/0.001077, allocations: 109.8 kB / 269.2 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06081/0.06081, allocations: 14.17 MB / 330.7 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009891/0.0009891, allocations: 47.92 kB / 391.6 MB, free: 64.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.09079, allocations: 50.14 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB): time 0.008537/0.09937, allocations: 12.2 MB / 454 MB, free: 2.441 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008184/0.1076, allocations: 5.119 MB / 459.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.1092, allocations: 43.81 kB / 459.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.1107, allocations: 0.5678 MB / 459.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005104/0.1158, allocations: 2.219 MB / 461.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.117, allocations: 0.5643 MB / 462.5 MB, free: 9.926 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004107/0.1211, allocations: 3.619 MB / 466.1 MB, free: 6.297 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.1216, allocations: 247.2 kB / 466.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.1236, allocations: 0.9992 MB / 467.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.1252, allocations: 1.019 MB / 468.4 MB, free: 4.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.1253, allocations: 52 kB / 468.4 MB, free: 3.957 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.1264, allocations: 407.7 kB / 468.8 MB, free: 3.559 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.1266, allocations: 222.6 kB / 469 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008723/0.1275, allocations: 0.9013 MB / 469.9 MB, free: 2.434 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.1296, allocations: 2.27 MB / 472.2 MB, free: 160 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1296, allocations: 0 / 472.2 MB, free: 160 kB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1296, allocations: 0 / 472.2 MB, free: 160 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.1296, allocations: 0 / 472.2 MB, free: 160 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.007531/0.1372, allocations: 2.841 MB / 475 MB, free: 13.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1372, allocations: 12.03 kB / 475.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009648/0.1382, allocations: 286.5 kB / 475.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.14, allocations: 1.07 MB / 476.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.1402, allocations: 194.1 kB / 476.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.1404, allocations: 140 kB / 476.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.1426, allocations: 1.458 MB / 478.2 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.1426, allocations: 0 / 478.2 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.1427, allocations: 60 kB / 478.2 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.1427, allocations: 36 kB / 478.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.1449, allocations: 1.4 MB / 479.7 MB, free: 8.438 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.1887/0.3337, allocations: 8.984 MB / 488.7 MB, free: 46.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.3362, allocations: 1.554 MB / 490.2 MB, free: 46.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008371/0.3371, allocations: 0.6046 MB / 490.8 MB, free: 46.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.773e-05/0.3372, allocations: 16.84 kB / 490.8 MB, free: 46.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.3386, allocations: 1.219 MB / 492.1 MB, free: 45.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=171): time 3.597e-06/0.3386, allocations: 0.8438 kB / 492.1 MB, free: 45.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=171): time 0.008916/0.3475, allocations: 3.25 MB / 495.3 MB, free: 44.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.3477, allocations: 0.5408 MB / 495.9 MB, free: 44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009098/0.3486, allocations: 0.7898 MB / 496.6 MB, free: 43.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/0.3487, allocations: 61.45 kB / 496.7 MB, free: 43.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.3491, allocations: 0.5868 MB / 497.3 MB, free: 43.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.3495, allocations: 0.5469 MB / 497.8 MB, free: 42.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.3498, allocations: 256.4 kB / 498.1 MB, free: 42.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.3499, allocations: 307 kB / 498.4 MB, free: 42.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007298/0.3506, allocations: 447.2 kB / 498.8 MB, free: 42.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008168/0.3514, allocations: 0.6978 MB / 499.5 MB, free: 41.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.3528, allocations: 1.357 MB / 0.4891 GB, free: 40.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.3528, allocations: 3 kB / 0.4891 GB, free: 40.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.002869/0.3557, allocations: 1.945 MB / 0.491 GB, free: 39.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.4e-05/0.3558, allocations: 130.7 kB / 0.4912 GB, free: 39.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.3558, allocations: 5.844 kB / 0.4912 GB, free: 39.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.3572, allocations: 458.3 kB / 0.4916 GB, free: 39.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.3584, allocations: 323 kB / 0.4919 GB, free: 39.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005663/0.3641, allocations: 4.038 MB / 0.4959 GB, free: 37.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.3651, allocations: 104.8 kB / 0.496 GB, free: 37.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.112e-05/0.3652, allocations: 56 kB / 0.496 GB, free: 37.03 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 28 (transmissionLine2.breakerStatusInternalB,transmissionLine2.breakerStatusInternalA,transmissionLine1.breakerStatusInternalB,transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine2.breakerStatusInternalB,$PRE.transmissionLine2.breakerStatusInternalA,transmissionLine2.breakerStatus,$PRE.transmissionLine2.breakerStatus,$PRE.transmissionLine1.breakerStatusInternalB,$PRE.transmissionLine1.breakerStatusInternalA,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.0005813/0.3658, allocations: 430.8 kB / 0.4964 GB, free: 36.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.366, allocations: 153.4 kB / 0.4966 GB, free: 36.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003232/0.3693, allocations: 1.91 MB / 0.4984 GB, free: 35.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.3693, allocations: 14.81 kB / 0.4984 GB, free: 35.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3693, allocations: 7.734 kB / 0.4985 GB, free: 35.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.3693, allocations: 5.406 kB / 0.4985 GB, free: 35.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004737/0.3741, allocations: 3.45 MB / 0.5018 GB, free: 33.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3741, allocations: 0 / 0.5018 GB, free: 33.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/0.3751, allocations: 270.6 kB / 0.5021 GB, free: 33.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.3763, allocations: 431.6 kB / 0.5025 GB, free: 33.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/0.3764, allocations: 37.66 kB / 0.5025 GB, free: 33.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004796/0.3812, allocations: 3.957 MB / 0.5064 GB, free: 30.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3812, allocations: 0 / 0.5064 GB, free: 30.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/0.3851, allocations: 3.325 MB / 0.5096 GB, free: 26.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/0.3856, allocations: 335.2 kB / 0.51 GB, free: 26.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.3857, allocations: 36 kB / 0.51 GB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007206/0.3865, allocations: 67.58 kB / 0.5101 GB, free: 26.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/0.3867, allocations: 135.8 kB / 0.5102 GB, free: 26.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.3868, allocations: 51.92 kB / 0.5102 GB, free: 26.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005279/0.3873, allocations: 0.5244 MB / 0.5108 GB, free: 25.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3873, allocations: 0 / 0.5108 GB, free: 25.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001395/0.3887, allocations: 0.562 MB / 0.5113 GB, free: 25.03 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: 22 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,transmissionLine1.breakerStatus,transmissionLine1.breakerStatusInternalA,transmissionLine1.breakerStatusInternalB,transmissionLine2.breakerStatus,transmissionLine2.breakerStatusInternalA,transmissionLine2.breakerStatusInternalB) * Number of discrete states: 22 (transmissionLine2.breakerStatus,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,transmissionLine2.breakerStatusInternalB,transmissionLine2.breakerStatusInternalA,transmissionLine1.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,transmissionLine1.breakerStatusInternalB,transmissionLine1.breakerStatusInternalA) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * 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.0003235/0.3891, allocations: 237.4 kB / 0.5115 GB, free: 24.8 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.002476/0.3916, allocations: 2.016 MB / 0.5135 GB, free: 22.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3916, allocations: 0 / 0.5135 GB, free: 22.73 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.001461/0.393, allocations: 1.406 MB / 0.5149 GB, free: 21.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.3938, allocations: 161.7 kB / 0.515 GB, free: 21.13 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.003797/0.3976, allocations: 3.868 MB / 0.5188 GB, free: 17.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.3982, allocations: 1.247 MB / 0.52 GB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008054/0.399, allocations: 176.3 kB / 0.5202 GB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.3992, allocations: 79.44 kB / 0.5203 GB, free: 15.72 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3992, allocations: 0 / 0.5203 GB, free: 15.72 MB / 330.7 MB Notification: Performance of Templates: time 0.02625/0.4254, allocations: 19.25 MB / 0.5391 GB, free: 12.62 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB.pipe 2>&1)