Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.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.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA") translateModel(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 182.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.299/1.299, allocations: 205.1 MB / 221.8 MB, free: 8.484 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.001027/0.001027, allocations: 102.2 kB / 269.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06086/0.06086, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 55.92 kB / 391.6 MB, free: 64.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0939/0.09493, allocations: 50.14 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA): time 0.008325/0.1033, allocations: 12.17 MB / 453.9 MB, free: 2.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007373/0.1107, allocations: 5.111 MB / 459.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.1124, allocations: 43.81 kB / 459.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.1141, allocations: 0.5678 MB / 459.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005613/0.1197, allocations: 2.224 MB / 461.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.1209, allocations: 0.549 MB / 462.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004334/0.1253, allocations: 3.616 MB / 466.1 MB, free: 6.355 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004667/0.1257, allocations: 233.7 kB / 466.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.1274, allocations: 0.9837 MB / 467.3 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.1292, allocations: 1.015 MB / 468.3 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003127/0.1295, allocations: 52 kB / 468.3 MB, free: 4.051 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.1311, allocations: 407.7 kB / 468.7 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.1314, allocations: 214.7 kB / 468.9 MB, free: 3.441 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.1329, allocations: 0.9014 MB / 469.8 MB, free: 2.535 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.1363, allocations: 2.255 MB / 472.1 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.1364, allocations: 3.984 kB / 472.1 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1364, allocations: 0 / 472.1 MB, free: 276 kB / 314.7 MB Notification: Performance of Transformations before backend: time 7.837e-05/0.1365, allocations: 0 / 472.1 MB, free: 276 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.01022/0.1467, allocations: 2.829 MB / 474.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/0.1468, allocations: 8.031 kB / 474.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.1484, allocations: 286.6 kB / 475.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/0.1516, allocations: 1.074 MB / 476.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.1518, allocations: 178.1 kB / 476.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.1521, allocations: 140 kB / 476.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.1548, allocations: 1.442 MB / 478 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.1549, allocations: 3.938 kB / 478 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.155, allocations: 60 kB / 478.1 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.155, allocations: 35.94 kB / 478.1 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.1575, allocations: 1.396 MB / 479.5 MB, free: 8.594 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.1916/0.3491, allocations: 8.85 MB / 488.4 MB, free: 46.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.3517, allocations: 1.542 MB / 489.9 MB, free: 46.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008777/0.3526, allocations: 0.599 MB / 490.5 MB, free: 46.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.977e-05/0.3527, allocations: 19.19 kB / 490.5 MB, free: 46.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/0.3542, allocations: 1.211 MB / 491.8 MB, free: 45.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=168): time 3.947e-06/0.3542, allocations: 0 / 491.8 MB, free: 45.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=168): time 0.009537/0.3637, allocations: 3.243 MB / 495 MB, free: 44.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/0.364, allocations: 0.543 MB / 495.5 MB, free: 44.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.3655, allocations: 0.8009 MB / 496.3 MB, free: 43.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.3656, allocations: 61.61 kB / 496.4 MB, free: 43.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007393/0.3664, allocations: 0.5788 MB / 497 MB, free: 43.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007449/0.3671, allocations: 0.542 MB / 497.5 MB, free: 43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005679/0.3677, allocations: 259.8 kB / 497.8 MB, free: 42.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.3678, allocations: 302.4 kB / 498.1 MB, free: 42.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008785/0.3687, allocations: 446.8 kB / 498.5 MB, free: 42.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009409/0.3696, allocations: 0.7039 MB / 499.2 MB, free: 41.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.371, allocations: 1.354 MB / 0.4888 GB, free: 41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.3711, allocations: 0 / 0.4888 GB, free: 41 MB / 330.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003111/0.3742, allocations: 1.951 MB / 0.4907 GB, free: 40.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.309e-05/0.3743, allocations: 131.4 kB / 0.4909 GB, free: 39.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.3743, allocations: 3.969 kB / 0.4909 GB, free: 39.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.3759, allocations: 460.3 kB / 0.4913 GB, free: 39.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.3772, allocations: 322 kB / 0.4916 GB, free: 39.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005934/0.3832, allocations: 4.032 MB / 0.4956 GB, free: 37.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.3844, allocations: 97.84 kB / 0.4956 GB, free: 37.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.3846, allocations: 59.47 kB / 0.4957 GB, free: 37.16 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.breakerStatusInternalA,transmissionLine2.breakerStatusInternalB,transmissionLine1.breakerStatusInternalB,transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine2.breakerStatusInternalB,$PRE.transmissionLine1.breakerStatusInternalB,$PRE.transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine2.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.000681/0.3852, allocations: 438.8 kB / 0.4961 GB, free: 36.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.3855, allocations: 156.5 kB / 0.4963 GB, free: 36.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003498/0.389, allocations: 1.898 MB / 0.4981 GB, free: 35.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.3891, allocations: 22.22 kB / 0.4981 GB, free: 35.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3891, allocations: 3.938 kB / 0.4982 GB, free: 35.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.3891, allocations: 6.469 kB / 0.4982 GB, free: 35.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005227/0.3943, allocations: 3.436 MB / 0.5015 GB, free: 33.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3944, allocations: 0 / 0.5015 GB, free: 33.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.3954, allocations: 264.8 kB / 0.5018 GB, free: 33.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.3967, allocations: 430.9 kB / 0.5022 GB, free: 33.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-05/0.3968, allocations: 38.16 kB / 0.5022 GB, free: 33.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00493/0.4017, allocations: 3.953 MB / 0.5061 GB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4017, allocations: 0 / 0.5061 GB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004229/0.406, allocations: 3.31 MB / 0.5093 GB, free: 26.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/0.4066, allocations: 331.2 kB / 0.5096 GB, free: 26.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.4067, allocations: 35.98 kB / 0.5097 GB, free: 26.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/0.4075, allocations: 71.58 kB / 0.5097 GB, free: 26.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/0.4078, allocations: 122.2 kB / 0.5098 GB, free: 26.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.4079, allocations: 40 kB / 0.5099 GB, free: 26.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006089/0.4085, allocations: 0.5363 MB / 0.5104 GB, free: 25.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4085, allocations: 0 / 0.5104 GB, free: 25.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001558/0.4101, allocations: 0.5542 MB / 0.5109 GB, free: 25.2 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: 19 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,transmissionLine1.breakerStatus,transmissionLine2.breakerStatus,transmissionLine2.breakerStatusInternalA) * Number of discrete states: 19 (transmissionLine2.breakerStatus,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,transmissionLine2.breakerStatusInternalA,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 (112): * Single equations (assignments): 109 * 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.0003244/0.4104, allocations: 246.5 kB / 0.5112 GB, free: 24.97 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.002641/0.413, allocations: 2.008 MB / 0.5131 GB, free: 22.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.413, allocations: 0 / 0.5131 GB, free: 22.9 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.001623/0.4147, allocations: 1.39 MB / 0.5145 GB, free: 21.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4157, allocations: 168.1 kB / 0.5147 GB, free: 21.3 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.004215/0.42, allocations: 3.831 MB / 0.5184 GB, free: 17.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.4205, allocations: 1.247 MB / 0.5196 GB, free: 16.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008504/0.4214, allocations: 176.9 kB / 0.5198 GB, free: 16.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.4216, allocations: 79.44 kB / 0.5199 GB, free: 15.94 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4216, allocations: 0 / 0.5199 GB, free: 15.94 MB / 330.7 MB Notification: Performance of Templates: time 0.02688/0.4485, allocations: 19.03 MB / 0.5384 GB, free: 13.06 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.pipe 2>&1)