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/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 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 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009501/0.00095, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001001/0.001001, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05978/0.05978, allocations: 14.16 MB / 284.5 MB, free: 7.145 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005539/0.0005541, allocations: 22.66 kB / 346.1 MB, free: 19.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1007, allocations: 51.11 MB / 397.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA): time 0.01012/0.1108, allocations: 9.842 MB / 407.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008191/0.1191, allocations: 4.692 MB / 411.8 MB, free: 2.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.1209, allocations: 39.81 kB / 411.8 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.1229, allocations: 477.4 kB / 412.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006/0.1289, allocations: 2.065 MB / 414.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.1302, allocations: 490.7 kB / 414.8 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004958/0.1352, allocations: 2.585 MB / 417.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.1357, allocations: 221.2 kB / 417.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.1377, allocations: 0.9848 MB / 418.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.1389, allocations: 0.9262 MB / 419.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.1391, allocations: 48 kB / 419.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.1402, allocations: 383.7 kB / 420 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.1404, allocations: 198.9 kB / 420.2 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.1409, allocations: 372.8 kB / 420.5 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.1429, allocations: 1.714 MB / 422.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1429, allocations: 0 / 422.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1429, allocations: 0 / 422.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.936e-05/0.1429, allocations: 0 / 422.2 MB, free: 7.699 MB / 318.1 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.00767/0.1506, allocations: 2.521 MB / 424.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1506, allocations: 15.95 kB / 424.8 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.1518, allocations: 285.7 kB / 425 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.1537, allocations: 1.031 MB / 426.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.1539, allocations: 182.1 kB / 426.3 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.1541, allocations: 136 kB / 426.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.1564, allocations: 1.423 MB / 427.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.1564, allocations: 0 / 427.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.1566, allocations: 56 kB / 427.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.1566, allocations: 36 kB / 427.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.1588, allocations: 1.384 MB / 429.3 MB, free: 420 kB / 318.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.1814/0.3402, allocations: 8.863 MB / 438.1 MB, free: 29.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.3429, allocations: 1.527 MB / 439.7 MB, free: 28.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.524e-05/0.343, allocations: 17.81 kB / 439.7 MB, free: 28.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/0.3444, allocations: 1.197 MB / 440.9 MB, free: 27.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=168): time 3.887e-06/0.3444, allocations: 1.094 kB / 440.9 MB, free: 27.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=168): time 0.009445/0.3539, allocations: 3.353 MB / 444.2 MB, free: 26.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.3541, allocations: 0.5412 MB / 444.8 MB, free: 25.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.3552, allocations: 0.7819 MB / 445.6 MB, free: 25.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.3553, allocations: 61.52 kB / 445.6 MB, free: 25.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.3558, allocations: 0.5845 MB / 446.2 MB, free: 24.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004544/0.3562, allocations: 0.5428 MB / 446.8 MB, free: 24.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.3563, allocations: 34.78 kB / 446.8 MB, free: 24.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.3564, allocations: 368.5 kB / 447.1 MB, free: 24.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008074/0.3572, allocations: 445.8 kB / 447.6 MB, free: 23.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008378/0.3581, allocations: 0.6781 MB / 448.3 MB, free: 23.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008649/0.3589, allocations: 0.6311 MB / 448.9 MB, free: 23.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.359, allocations: 2.812 kB / 448.9 MB, free: 23.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003362/0.3623, allocations: 1.93 MB / 450.8 MB, free: 22.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.355e-05/0.3624, allocations: 128.8 kB / 450.9 MB, free: 22.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.3624, allocations: 8.031 kB / 451 MB, free: 22.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.3638, allocations: 461.7 kB / 451.4 MB, free: 21.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.3651, allocations: 323.1 kB / 451.7 MB, free: 21.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005692/0.3708, allocations: 4.175 MB / 455.9 MB, free: 19.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.3721, allocations: 107.4 kB / 456 MB, free: 19.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/0.3722, allocations: 59.44 kB / 456.1 MB, free: 19.11 MB / 318.1 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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$PRE.transmissionLine1.breakerStatus,transmissionLine1.breakerStatus,$PRE.transmissionLine2.breakerStatus,transmissionLine2.breakerStatus,$PRE.transmissionLine2.breakerStatusInternalA,$PRE.transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine1.breakerStatusInternalB,$PRE.transmissionLine2.breakerStatusInternalB) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of prepare postOptimizeDAE: time 0.0006379/0.3728, allocations: 422.5 kB / 456.5 MB, free: 18.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.3731, allocations: 153.1 kB / 456.6 MB, free: 18.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/0.3758, allocations: 1.884 MB / 458.5 MB, free: 17.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.3759, allocations: 11.91 kB / 458.5 MB, free: 17.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3759, allocations: 6.344 kB / 458.5 MB, free: 17.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.3759, allocations: 7.969 kB / 458.5 MB, free: 17.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/0.3805, allocations: 3.42 MB / 462 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.3806, allocations: 1.562 kB / 462 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009998/0.3816, allocations: 265.8 kB / 462.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/0.3828, allocations: 429.4 kB / 462.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.752e-05/0.3829, allocations: 36.08 kB / 462.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004994/0.3879, allocations: 4.094 MB / 466.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.388, allocations: 0 / 466.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.3908, allocations: 1.927 MB / 468.7 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/0.3914, allocations: 331.1 kB / 469 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.3916, allocations: 36 kB / 469 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007386/0.3923, allocations: 67.67 kB / 469.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.3926, allocations: 130.5 kB / 469.2 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/0.3927, allocations: 47.98 kB / 469.3 MB, free: 8.641 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005542/0.3932, allocations: 0.5207 MB / 469.8 MB, free: 8.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3932, allocations: 11.94 kB / 469.8 MB, free: 8.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001376/0.3946, allocations: 0.5542 MB / 470.4 MB, free: 7.543 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003219/0.3949, allocations: 237.3 kB / 470.6 MB, free: 7.316 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created initialization part: time 0.002507/0.3975, allocations: 1.989 MB / 472.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3975, allocations: 4.062 kB / 472.6 MB, free: 5.266 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created simulation system equations: time 0.001531/0.399, allocations: 1.4 MB / 474 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.3996, allocations: 137.8 kB / 474.1 MB, free: 3.695 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.403, allocations: 2.779 MB / 476.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007193/0.4038, allocations: 1.226 MB / 478.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0008721/0.4046, allocations: 186.7 kB / 478.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.4049, allocations: 79.44 kB / 478.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4049, allocations: 4 kB / 478.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of Templates: time 0.03058/0.4355, allocations: 17.32 MB / 495.7 MB, free: 14.18 MB / 350.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: