Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.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.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB") translateModel(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 96.73 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001657, allocations: 180 kB / 16.57 MB, free: 6.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06417/0.06417, allocations: 14.15 MB / 285.2 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.000625/0.0006254, allocations: 14.66 kB / 346.8 MB, free: 19.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1123, allocations: 51.12 MB / 397.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB): time 0.01134/0.1237, allocations: 9.839 MB / 407.7 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.1346, allocations: 4.695 MB / 412.4 MB, free: 2.156 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.1375, allocations: 39.81 kB / 412.5 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.1403, allocations: 477.4 kB / 412.9 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007448/0.1478, allocations: 2.055 MB / 415 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.1495, allocations: 490.2 kB / 415.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006757/0.1562, allocations: 2.57 MB / 418 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006566/0.1569, allocations: 213.2 kB / 418.2 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.1594, allocations: 0.9809 MB / 419.2 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.1614, allocations: 0.9224 MB / 420.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003987/0.1618, allocations: 55.94 kB / 420.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.1639, allocations: 379.6 kB / 420.6 MB, free: 10 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.1643, allocations: 202.9 kB / 420.8 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000963/0.1652, allocations: 368.8 kB / 421.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.1678, allocations: 1.711 MB / 422.8 MB, free: 7.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1678, allocations: 4 kB / 422.8 MB, free: 7.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.1679, allocations: 0 / 422.8 MB, free: 7.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.1679, allocations: 0 / 422.8 MB, free: 7.715 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.007731/0.1756, allocations: 2.518 MB / 425.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1757, allocations: 16.02 kB / 425.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.1768, allocations: 289.6 kB / 425.7 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.1788, allocations: 1.027 MB / 426.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.179, allocations: 186 kB / 426.9 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.1791, allocations: 140 kB / 427 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.1814, allocations: 1.423 MB / 428.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.1814, allocations: 4 kB / 428.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.1815, allocations: 64 kB / 428.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.1816, allocations: 32 kB / 428.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.1839, allocations: 1.388 MB / 429.9 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.2212/0.4051, allocations: 8.856 MB / 438.8 MB, free: 28.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.4076, allocations: 1.527 MB / 440.3 MB, free: 27.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-05/0.4077, allocations: 16.06 kB / 440.3 MB, free: 27.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/0.4091, allocations: 1.199 MB / 441.5 MB, free: 27.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=168): time 3.586e-06/0.4091, allocations: 0 / 441.5 MB, free: 27.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=168): time 0.01002/0.4191, allocations: 3.349 MB / 444.9 MB, free: 25.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002933/0.4195, allocations: 0.5404 MB / 445.4 MB, free: 25.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.4212, allocations: 0.7865 MB / 446.2 MB, free: 24.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.4214, allocations: 56.77 kB / 446.2 MB, free: 24.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.4219, allocations: 0.5924 MB / 446.8 MB, free: 24.37 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00048/0.4224, allocations: 0.5443 MB / 447.4 MB, free: 23.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.4225, allocations: 37.12 kB / 447.4 MB, free: 23.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.4226, allocations: 367 kB / 447.8 MB, free: 23.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007934/0.4234, allocations: 439.9 kB / 448.2 MB, free: 23.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.4244, allocations: 0.6807 MB / 448.9 MB, free: 22.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.4255, allocations: 0.6242 MB / 449.5 MB, free: 22.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.4256, allocations: 6.5 kB / 449.5 MB, free: 22.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003804/0.4294, allocations: 1.926 MB / 451.4 MB, free: 21.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.4295, allocations: 135.5 kB / 451.6 MB, free: 21.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.4295, allocations: 6.125 kB / 451.6 MB, free: 21.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.431, allocations: 461 kB / 452 MB, free: 21.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.4322, allocations: 323.2 kB / 452.3 MB, free: 21.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005519/0.4378, allocations: 4.174 MB / 456.5 MB, free: 18.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.4391, allocations: 97.58 kB / 456.6 MB, free: 18.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/0.4392, allocations: 59.25 kB / 456.7 MB, free: 18.46 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 (transmissionLine1.breakerStatusInternalB,transmissionLine2.breakerStatusInternalB,transmissionLine2.breakerStatusInternalA,transmissionLine1.breakerStatusInternalA,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$PRE.transmissionLine1.breakerStatus,transmissionLine1.breakerStatus,$PRE.transmissionLine1.breakerStatusInternalB,$PRE.transmissionLine2.breakerStatus,transmissionLine2.breakerStatus,$PRE.transmissionLine1.breakerStatusInternalA,$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.0007098/0.4399, allocations: 425.6 kB / 457.1 MB, free: 18.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.4402, allocations: 148.4 kB / 457.2 MB, free: 18.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.443, allocations: 1.892 MB / 459.1 MB, free: 16.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.443, allocations: 15.88 kB / 459.1 MB, free: 16.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.443, allocations: 0 / 459.1 MB, free: 16.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.443, allocations: 6.281 kB / 459.1 MB, free: 16.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005097/0.4481, allocations: 3.435 MB / 462.6 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-06/0.4482, allocations: 128 / 462.6 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.4494, allocations: 266.5 kB / 462.8 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.4506, allocations: 426.9 kB / 463.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-05/0.4506, allocations: 35.8 kB / 463.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004722/0.4554, allocations: 4.082 MB / 467.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4554, allocations: 0 / 467.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003763/0.4592, allocations: 3.294 MB / 470.7 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/0.4597, allocations: 335.1 kB / 471 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.4599, allocations: 35.95 kB / 471 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006911/0.4606, allocations: 67.67 kB / 471.1 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.4608, allocations: 134.4 kB / 471.2 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/0.4609, allocations: 39.98 kB / 471.3 MB, free: 6.555 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004778/0.4613, allocations: 0.5246 MB / 471.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4613, allocations: 0 / 471.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001423/0.4628, allocations: 0.5581 MB / 472.3 MB, free: 5.461 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,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 (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.0003154/0.4631, allocations: 249.3 kB / 472.6 MB, free: 5.223 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.002464/0.4656, allocations: 1.992 MB / 474.6 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4656, allocations: 0 / 474.6 MB, free: 3.172 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.001543/0.4671, allocations: 1.4 MB / 476 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.4678, allocations: 132.8 kB / 476.1 MB, free: 1.613 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.004231/0.472, allocations: 3.572 MB / 479.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008904/0.4729, allocations: 1.271 MB / 481 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0008673/0.4738, allocations: 179.4 kB / 481.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.474, allocations: 79.44 kB / 481.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.474, allocations: 0 / 481.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of Templates: time 0.03267/0.5067, allocations: 17.33 MB / 498.5 MB, free: 11.23 MB / 350.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.pipe 2>&1) Environment - environmentSimulation: