Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.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.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB") translateModel(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 181.9 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.317/1.317, allocations: 205.1 MB / 221.8 MB, free: 8.477 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.001015/0.001015, allocations: 98.23 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05999/0.05999, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 55.91 kB / 391.6 MB, free: 64.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08592/0.08696, allocations: 50.15 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB): time 0.008738/0.09574, allocations: 12.18 MB / 454 MB, free: 2.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008042/0.1038, allocations: 5.111 MB / 459.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.1063, allocations: 43.81 kB / 459.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.1085, allocations: 0.5639 MB / 459.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006462/0.115, allocations: 2.215 MB / 461.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.1164, allocations: 0.5531 MB / 462.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004755/0.1211, allocations: 3.619 MB / 466.1 MB, free: 6.355 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004874/0.1216, allocations: 225.8 kB / 466.3 MB, free: 6.117 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.1233, allocations: 0.9837 MB / 467.3 MB, free: 5.129 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.1248, allocations: 1.011 MB / 468.3 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003394/0.1252, allocations: 52 kB / 468.3 MB, free: 4.062 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.127, allocations: 407.7 kB / 468.7 MB, free: 3.664 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003345/0.1274, allocations: 222.6 kB / 468.9 MB, free: 3.445 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.1291, allocations: 0.8936 MB / 469.8 MB, free: 2.547 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002788/0.1319, allocations: 2.267 MB / 472.1 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1319, allocations: 0 / 472.1 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1319, allocations: 0 / 472.1 MB, free: 280 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.1319, allocations: 0 / 472.1 MB, free: 280 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.007703/0.1396, allocations: 2.829 MB / 474.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1397, allocations: 8.031 kB / 474.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009596/0.1407, allocations: 278.7 kB / 475.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.1426, allocations: 1.078 MB / 476.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.1428, allocations: 182.1 kB / 476.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.143, allocations: 140 kB / 476.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.145, allocations: 1.438 MB / 478 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.145, allocations: 3.938 kB / 478 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.1452, allocations: 64 kB / 478.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.1452, allocations: 32 kB / 478.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.1473, allocations: 1.392 MB / 479.5 MB, free: 8.609 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.1954/0.3428, allocations: 8.847 MB / 488.4 MB, free: 46.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003033/0.3458, allocations: 1.545 MB / 489.9 MB, free: 46.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000984/0.3468, allocations: 0.5955 MB / 490.5 MB, free: 46.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.347, allocations: 20.2 kB / 490.5 MB, free: 46.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/0.3485, allocations: 1.212 MB / 491.8 MB, free: 45.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=168): time 3.957e-06/0.3485, allocations: 0 / 491.8 MB, free: 45.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=168): time 0.009663/0.3582, allocations: 3.251 MB / 495 MB, free: 44.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.3583, allocations: 0.5345 MB / 495.5 MB, free: 44.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.3597, allocations: 0.8119 MB / 496.4 MB, free: 43.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.009e-05/0.3598, allocations: 56.91 kB / 496.4 MB, free: 43.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/0.3603, allocations: 0.5793 MB / 497 MB, free: 43.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004792/0.3608, allocations: 0.5456 MB / 497.5 MB, free: 43.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/0.3613, allocations: 255.5 kB / 497.8 MB, free: 42.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.3613, allocations: 311.1 kB / 498.1 MB, free: 42.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008248/0.3622, allocations: 447 kB / 498.5 MB, free: 42.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009811/0.3632, allocations: 0.6931 MB / 499.2 MB, free: 41.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.3647, allocations: 1.357 MB / 0.4888 GB, free: 41.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.3647, allocations: 3.969 kB / 0.4888 GB, free: 41.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003364/0.3681, allocations: 1.95 MB / 0.4907 GB, free: 40.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.062e-05/0.3682, allocations: 128 kB / 0.4909 GB, free: 39.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.3682, allocations: 15.3 kB / 0.4909 GB, free: 39.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.3697, allocations: 455.4 kB / 0.4913 GB, free: 39.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.371, allocations: 314.4 kB / 0.4916 GB, free: 39.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005774/0.3768, allocations: 4.04 MB / 0.4956 GB, free: 37.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.3779, allocations: 97.72 kB / 0.4957 GB, free: 37.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.378, allocations: 63.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 (transmissionLine1.breakerStatusInternalB,transmissionLine2.breakerStatusInternalB,transmissionLine2.breakerStatusInternalA,transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine2.breakerStatusInternalB,$PRE.transmissionLine2.breakerStatusInternalA,$PRE.transmissionLine1.breakerStatusInternalA,transmissionLine2.breakerStatus,$PRE.transmissionLine2.breakerStatus,$PRE.transmissionLine1.breakerStatusInternalB,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.0006133/0.3787, allocations: 429.8 kB / 0.4961 GB, free: 36.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/0.379, allocations: 156.2 kB / 0.4963 GB, free: 36.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.3824, allocations: 1.906 MB / 0.4981 GB, free: 35.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.3824, allocations: 15 kB / 0.4982 GB, free: 35.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3824, allocations: 3.938 kB / 0.4982 GB, free: 35.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.3825, allocations: 7.828 kB / 0.4982 GB, free: 35.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005258/0.3877, allocations: 3.436 MB / 0.5015 GB, free: 33.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.3877, allocations: 2.5 kB / 0.5015 GB, free: 33.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.3888, allocations: 265.8 kB / 0.5018 GB, free: 33.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.39, allocations: 431.2 kB / 0.5022 GB, free: 33.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.978e-05/0.3901, allocations: 34.42 kB / 0.5022 GB, free: 33.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00495/0.395, allocations: 3.95 MB / 0.5061 GB, free: 30.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3951, allocations: 0 / 0.5061 GB, free: 30.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003932/0.399, allocations: 3.314 MB / 0.5093 GB, free: 26.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/0.3995, allocations: 329.7 kB / 0.5096 GB, free: 26.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.3997, allocations: 36 kB / 0.5097 GB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007806/0.4005, allocations: 71.58 kB / 0.5097 GB, free: 26.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/0.4008, allocations: 121.1 kB / 0.5098 GB, free: 26.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-05/0.4009, allocations: 47.98 kB / 0.5099 GB, free: 26.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006036/0.4015, allocations: 0.5285 MB / 0.5104 GB, free: 25.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4015, allocations: 4 kB / 0.5104 GB, free: 25.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001479/0.403, allocations: 0.5581 MB / 0.511 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,transmissionLine1.breakerStatusInternalB,transmissionLine2.breakerStatus) * Number of discrete states: 19 (transmissionLine2.breakerStatus,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,transmissionLine1.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,transmissionLine1.breakerStatusInternalB) * 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.0003692/0.4033, allocations: 234.8 kB / 0.5112 GB, free: 24.98 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.002779/0.4061, allocations: 2.007 MB / 0.5131 GB, free: 22.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4061, allocations: 0 / 0.5131 GB, free: 22.91 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.001543/0.4077, allocations: 1.393 MB / 0.5145 GB, free: 21.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008381/0.4085, allocations: 172.8 kB / 0.5147 GB, free: 21.31 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.004162/0.4127, allocations: 3.829 MB / 0.5184 GB, free: 17.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.4133, allocations: 1.239 MB / 0.5196 GB, free: 16.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008013/0.4141, allocations: 178.8 kB / 0.5198 GB, free: 16.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.4143, allocations: 91.42 kB / 0.5199 GB, free: 15.95 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4143, allocations: 3.938 kB / 0.5199 GB, free: 15.94 MB / 330.7 MB Notification: Performance of Templates: time 0.02565/0.44, allocations: 19.03 MB / 0.5385 GB, free: 13.07 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.pipe 2>&1)