Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 112.7 kB / 17.75 MB, free: 5.309 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.001116/0.001116, allocations: 187 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1915/0.1915, allocations: 38.03 MB / 330.6 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.89 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2831, allocations: 58.05 MB / 0.5048 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005749/0.2889, allocations: 5.298 MB / 0.5099 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.2908, allocations: 1.165 MB / 0.5111 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.291, allocations: 17.41 kB / 0.5111 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.2914, allocations: 92.02 kB / 0.5112 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006758/0.2921, allocations: 322.1 kB / 0.5115 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.2925, allocations: 144.4 kB / 0.5116 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.2932, allocations: 0.7305 MB / 0.5123 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.2934, allocations: 191.5 kB / 0.5125 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004199/0.2939, allocations: 316.6 kB / 0.5128 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000536/0.2944, allocations: 366.9 kB / 0.5132 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.935e-05/0.2945, allocations: 44.03 kB / 0.5132 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.2946, allocations: 41.44 kB / 0.5133 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.2948, allocations: 202 kB / 0.5134 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.2951, allocations: 255.7 kB / 0.5137 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.2957, allocations: 0.5501 MB / 0.5142 GB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2957, allocations: 1.25 kB / 0.5142 GB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2957, allocations: 3.938 kB / 0.5142 GB, free: 1.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.2957, allocations: 4 kB / 0.5142 GB, free: 1.879 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001402/0.2971, allocations: 0.8344 MB / 0.5151 GB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2972, allocations: 12.73 kB / 0.5151 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.2973, allocations: 55.36 kB / 0.5151 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006763/0.298, allocations: 454 kB / 0.5155 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.298, allocations: 29.33 kB / 0.5156 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/0.2981, allocations: 40.47 kB / 0.5156 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/0.2988, allocations: 491.7 kB / 0.5161 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2989, allocations: 1.078 kB / 0.5161 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.2989, allocations: 16.88 kB / 0.5161 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.299, allocations: 29.81 kB / 0.5161 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006009/0.2996, allocations: 365.1 kB / 0.5165 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.3022, allocations: 1.711 MB / 0.5181 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/0.3029, allocations: 400.3 kB / 0.5185 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/0.3034, allocations: 209.9 kB / 0.5187 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.3034, allocations: 1.781 kB / 0.5187 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004474/0.3039, allocations: 284.7 kB / 0.519 GB, free: 14.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.3039, allocations: 0 / 0.519 GB, free: 14.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002454/0.3063, allocations: 1.392 MB / 0.5204 GB, free: 13.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.3064, allocations: 141.7 kB / 0.5205 GB, free: 13.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.3068, allocations: 369.6 kB / 0.5209 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.3069, allocations: 37.92 kB / 0.5209 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.3071, allocations: 258.6 kB / 0.5211 GB, free: 13.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.739e-05/0.3072, allocations: 112.8 kB / 0.5212 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.3073, allocations: 82.47 kB / 0.5213 GB, free: 13.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3075, allocations: 351.4 kB / 0.5217 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.3077, allocations: 133.5 kB / 0.5218 GB, free: 12.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.308, allocations: 258.3 kB / 0.522 GB, free: 12.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.3086, allocations: 437.6 kB / 0.5224 GB, free: 12.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3086, allocations: 1.188 kB / 0.5224 GB, free: 12.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008941/0.3095, allocations: 0.5408 MB / 0.523 GB, free: 12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/0.3096, allocations: 33.91 kB / 0.523 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.3096, allocations: 4.156 kB / 0.523 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.3099, allocations: 84.62 kB / 0.5231 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.3102, allocations: 67.8 kB / 0.5232 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.3125, allocations: 2.999 MB / 0.5261 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3128, allocations: 23.41 kB / 0.5261 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.3129, allocations: 19.97 kB / 0.5261 GB, free: 9.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002974/0.3132, allocations: 251.1 kB / 0.5264 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.3132, allocations: 44.78 kB / 0.5264 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009093/0.3142, allocations: 0.493 MB / 0.5269 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.3142, allocations: 2.062 kB / 0.5269 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3142, allocations: 1.438 kB / 0.5269 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3143, allocations: 114.4 kB / 0.527 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/0.3144, allocations: 16.38 kB / 0.527 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.3146, allocations: 20.53 kB / 0.527 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3147, allocations: 34.81 kB / 0.5271 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001083/0.3158, allocations: 0.6958 MB / 0.5278 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00106/0.3169, allocations: 0.8682 MB / 0.5286 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002782/0.3172, allocations: 183.1 kB / 0.5288 GB, free: 7.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000287/0.3175, allocations: 257.5 kB / 0.529 GB, free: 7.281 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.3175, allocations: 0 / 0.529 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.3187, allocations: 0.583 MB / 0.5296 GB, free: 6.844 MB / 398.1 MB Notification: Performance of SimCode: time 0.001822/0.3205, allocations: 1.453 MB / 0.531 GB, free: 5.773 MB / 398.1 MB Notification: Performance of Templates: time 0.01096/0.3315, allocations: 5.639 MB / 0.5365 GB, free: 3.812 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1)