Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusFourLoadsWithBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009677/0.0009677, allocations: 83.75 kB / 20.92 MB, free: 3.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.01068/0.01068, allocations: 154.5 kB / 24.36 MB, free: 8.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 177.2 MB / 204.8 MB, free: 5.352 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04956/0.04956, allocations: 13.26 MB / 274.6 MB, free: 15.93 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.OneBusFourLoadsWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusFourLoadsWithBreaker") translateModel(PowerGrids.Electrical.Test.OneBusFourLoadsWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusFourLoadsWithBreaker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 295 MB, free: 12.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.346e-05, allocations: 2.312 kB / 295 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusFourLoadsWithBreaker): time 0.0167/0.01673, allocations: 23.4 MB / 318.4 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.0297, allocations: 7.519 MB / 326 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.03207, allocations: 83.31 kB / 326 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.03426, allocations: 1.001 MB / 327.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005506/0.03977, allocations: 3.272 MB / 330.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.04243, allocations: 1.644 MB / 332 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006168/0.0486, allocations: 6.478 MB / 338.4 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002831/0.05143, allocations: 1.58 MB / 340 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/0.05589, allocations: 3.141 MB / 343.2 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.05723, allocations: 1.546 MB / 344.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003198/0.05755, allocations: 263.9 kB / 345 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.05885, allocations: 0.6947 MB / 345.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007218/0.05957, allocations: 0.6298 MB / 346.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009691/0.06054, allocations: 1.27 MB / 347.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.06297, allocations: 2.764 MB / 350.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.06297, allocations: 0 / 350.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.06298, allocations: 7.938 kB / 350.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.063, allocations: 0 / 350.3 MB, free: 10.05 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 535 * Number of variables: 535 Notification: Performance of Generate backend data structure: time 0.00622/0.06922, allocations: 4.863 MB / 355.2 MB, free: 5.082 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.06925, allocations: 8.031 kB / 355.2 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.07117, allocations: 0.9296 MB / 356.1 MB, free: 4.145 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.07278, allocations: 1.332 MB / 357.5 MB, free: 2.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.07297, allocations: 400.8 kB / 357.9 MB, free: 2.301 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.07317, allocations: 240.3 kB / 358.1 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/0.07561, allocations: 2.807 MB / 360.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.07564, allocations: 16.06 kB / 360.9 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.07576, allocations: 108.1 kB / 361 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.0758, allocations: 56 kB / 361.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009593/0.07675, allocations: 1.009 MB / 362.1 MB, free: 13.48 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.007872/0.08463, allocations: 11.68 MB / 373.8 MB, free: 1.395 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.08605, allocations: 1.052 MB / 374.8 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.08638, allocations: 375.1 kB / 375.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.403e-05/0.08646, allocations: 53.91 kB / 375.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009707/0.08743, allocations: 1.831 MB / 377.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=200): time 4.187e-06/0.08744, allocations: 0 / 377.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=200): time 0.001906/0.08934, allocations: 1.63 MB / 378.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00027/0.08961, allocations: 0.7686 MB / 379.5 MB, free: 11.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.0915, allocations: 1.963 MB / 381.4 MB, free: 9.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.634e-05/0.0916, allocations: 73.7 kB / 381.5 MB, free: 8.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.09218, allocations: 1.076 MB / 382.6 MB, free: 7.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004923/0.09267, allocations: 0.8022 MB / 383.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009637/0.09363, allocations: 1.074 MB / 384.4 MB, free: 5.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.09372, allocations: 305.2 kB / 384.7 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.09496, allocations: 1.079 MB / 385.8 MB, free: 4.555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.0965, allocations: 1.627 MB / 387.5 MB, free: 2.789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002682/0.09918, allocations: 2.517 MB / 390 MB, free: 76 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.09919, allocations: 0 / 390 MB, free: 76 kB / 346.7 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.003718/0.1029, allocations: 3.597 MB / 393.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.103, allocations: 229.6 kB / 393.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.103, allocations: 4 kB / 393.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009903/0.104, allocations: 429.3 kB / 394.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/0.1066, allocations: 1.225 MB / 395.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003571/0.1101, allocations: 7.121 MB / 402.6 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.112, allocations: 456.7 kB / 403 MB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.1121, allocations: 140 kB / 403.1 MB, free: 2.148 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 29 (LoadImp2.breakerStatusInInternal,LoadImp1.breakerStatusInInternal,LoadPQ2.breakerStatusInInternal,LoadPQ1.breakerStatusInInternal,InfBus.componentPF.isSlackBus,LoadPQ1.componentPF.isSlackBus,LoadPQ2.componentPF.isSlackBus,LoadImp1.componentPF.isSlackBus,LoadImp2.componentPF.isSlackBus,$PRE.LoadImp2.breakerStatusInInternal,LoadImp2.breakerStatus,$PRE.LoadImp2.breakerStatus,$PRE.LoadImp1.breakerStatusInInternal,LoadImp1.breakerStatus,$PRE.LoadImp1.breakerStatus,$PRE.LoadPQ2.breakerStatusInInternal,LoadPQ2.breakerStatus,$PRE.LoadPQ2.breakerStatus,$PRE.LoadPQ1.breakerStatusInInternal,LoadPQ1.breakerStatus,$PRE.LoadPQ1.breakerStatus,$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 (752): * Single equations (assignments): 738 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000604/0.1127, allocations: 495.5 kB / 403.6 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.113, allocations: 259.7 kB / 403.9 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.1142, allocations: 1.247 MB / 405.1 MB, free: 32 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.1142, allocations: 11.95 kB / 405.1 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.1142, allocations: 7.938 kB / 405.1 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005849/0.1148, allocations: 305.8 kB / 405.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.115, allocations: 43.89 kB / 405.5 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007067/0.1157, allocations: 95.88 kB / 405.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.1159, allocations: 129.4 kB / 405.7 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001425/0.1173, allocations: 1.878 MB / 407.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001799/0.1191, allocations: 2.303 MB / 409.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003678/0.1195, allocations: 484.7 kB / 410.4 MB, free: 10.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008146/0.1203, allocations: 0.9595 MB / 411.3 MB, free: 9.621 MB / 378.7 MB Notification: Performance of Backend: time 3.91e-07/0.1203, allocations: 0 / 411.3 MB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004223/0.1245, allocations: 3.715 MB / 415 MB, free: 5.664 MB / 378.7 MB Notification: Performance of SimCode: time 0.006113/0.1306, allocations: 5.546 MB / 420.6 MB, free: 4 kB / 378.7 MB [CodegenCpp.tpl:13175:28-13175:28:writable] Error: Template error: Unsupported zero crossing at 0: time < 1.0 or time > 2.0. Error: Internal error SimCode DAEmode: The model PowerGrids.Electrical.Test.OneBusFourLoadsWithBreaker could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.0484242625534534]