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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001013, allocations: 99.86 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.0009199/0.00092, allocations: 177.3 kB / 15.94 MB, free: 228 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.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06343/0.06343, allocations: 14.16 MB / 284.5 MB, free: 7.152 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.0004851/0.0004852, allocations: 12 kB / 346.1 MB, free: 19.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08567/0.08617, allocations: 51.12 MB / 397.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB): time 0.00978/0.09599, allocations: 9.869 MB / 407.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007397/0.1034, allocations: 4.695 MB / 411.8 MB, free: 2.145 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.1048, allocations: 43.81 kB / 411.8 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.1062, allocations: 473.4 kB / 412.3 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005273/0.1115, allocations: 2.061 MB / 414.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1126, allocations: 486.7 kB / 414.8 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003994/0.1166, allocations: 2.585 MB / 417.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.117, allocations: 241.4 kB / 417.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.1184, allocations: 0.9848 MB / 418.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.1195, allocations: 0.9301 MB / 419.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.1196, allocations: 48 kB / 419.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009962/0.1206, allocations: 383.6 kB / 420 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.1208, allocations: 198.9 kB / 420.2 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003604/0.1211, allocations: 372.8 kB / 420.6 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.1229, allocations: 1.726 MB / 422.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1229, allocations: 0 / 422.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1229, allocations: 0 / 422.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.123, allocations: 4 kB / 422.3 MB, free: 7.637 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.007643/0.1306, allocations: 2.529 MB / 424.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1307, allocations: 15.95 kB / 424.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.1319, allocations: 285.7 kB / 425.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.1339, allocations: 1.034 MB / 426.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.1341, allocations: 186.1 kB / 426.3 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.1343, allocations: 144 kB / 426.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.1366, allocations: 1.436 MB / 427.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.1366, allocations: 3.938 kB / 427.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.1367, allocations: 60 kB / 428 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.1368, allocations: 32 kB / 428 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.139, allocations: 1.392 MB / 429.4 MB, free: 308 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.1929/0.332, allocations: 8.987 MB / 438.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.3346, allocations: 1.536 MB / 439.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-05/0.3347, allocations: 20.22 kB / 439.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/0.3361, allocations: 1.199 MB / 441.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=171): time 3.757e-06/0.3361, allocations: 1.406 kB / 441.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=171): time 0.009911/0.346, allocations: 3.356 MB / 444.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/0.3463, allocations: 0.5443 MB / 445 MB, free: 11.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.3476, allocations: 0.7783 MB / 445.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.3477, allocations: 62.89 kB / 445.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000514/0.3482, allocations: 0.5778 MB / 446.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004591/0.3487, allocations: 0.5608 MB / 447 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/0.3488, allocations: 35.2 kB / 447.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3489, allocations: 364 kB / 447.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008709/0.3498, allocations: 444.3 kB / 447.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.3509, allocations: 0.6781 MB / 448.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.3519, allocations: 0.6255 MB / 449.1 MB, free: 9.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.3519, allocations: 4.938 kB / 449.1 MB, free: 9.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.00416/0.3561, allocations: 1.94 MB / 451.1 MB, free: 9.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.3562, allocations: 128.3 kB / 451.2 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.3562, allocations: 7.406 kB / 451.2 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.3577, allocations: 459.3 kB / 451.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.3591, allocations: 315.8 kB / 452 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/0.3652, allocations: 4.166 MB / 456.1 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.3665, allocations: 107 kB / 456.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/0.3666, allocations: 63.66 kB / 456.3 MB, free: 7.973 MB / 318.1 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.breakerStatusInternalA,transmissionLine1.breakerStatusInternalB,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$PRE.transmissionLine1.breakerStatus,transmissionLine1.breakerStatus,$PRE.transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine1.breakerStatusInternalB,$PRE.transmissionLine2.breakerStatus,transmissionLine2.breakerStatus,$PRE.transmissionLine2.breakerStatusInternalA,$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.0007372/0.3674, allocations: 419.7 kB / 456.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.3676, allocations: 155.2 kB / 456.9 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/0.3706, allocations: 1.9 MB / 458.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.3707, allocations: 15.38 kB / 458.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3707, allocations: 128 / 458.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.3707, allocations: 4.828 kB / 458.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004597/0.3753, allocations: 3.44 MB / 462.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3753, allocations: 0 / 462.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.3764, allocations: 267 kB / 462.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.3776, allocations: 427.5 kB / 462.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-05/0.3777, allocations: 39.41 kB / 462.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005482/0.3832, allocations: 4.099 MB / 467 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3832, allocations: 0 / 467 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.386, allocations: 1.942 MB / 469 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/0.3865, allocations: 327.2 kB / 469.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.3867, allocations: 43.95 kB / 469.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/0.3875, allocations: 67.61 kB / 469.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002677/0.3878, allocations: 134.5 kB / 469.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.715e-05/0.3879, allocations: 51.38 kB / 469.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006827/0.3885, allocations: 0.5166 MB / 470.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3886, allocations: 0 / 470.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001467/0.39, allocations: 0.5554 MB / 470.7 MB, free: 14.54 MB / 334.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: 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 (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.0003921/0.3904, allocations: 256 kB / 470.9 MB, free: 14.3 MB / 334.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.0032/0.3936, allocations: 1.993 MB / 472.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3937, allocations: 448 / 472.9 MB, free: 12.29 MB / 334.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.001943/0.3956, allocations: 1.403 MB / 474.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000747/0.3964, allocations: 139.3 kB / 474.5 MB, free: 10.73 MB / 334.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.004444/0.4008, allocations: 2.801 MB / 477.3 MB, free: 7.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008481/0.4017, allocations: 1.23 MB / 478.5 MB, free: 6.676 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0008958/0.4026, allocations: 181.9 kB / 478.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.4028, allocations: 79.44 kB / 478.7 MB, free: 6.418 MB / 334.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4029, allocations: 0 / 478.7 MB, free: 6.418 MB / 334.1 MB Notification: Performance of Templates: time 0.0318/0.4347, allocations: 17.5 MB / 496.2 MB, free: 5.051 MB / 350.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortsAB.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: