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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001314/0.001314, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.265/1.265, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001637/0.001637, allocations: 112.1 kB / 248.1 MB, free: 6.32 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1683/0.1683, allocations: 37.92 MB / 330.9 MB, free: 7.32 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.377e-05/1.379e-05, allocations: 8 kB / 390.4 MB, free: 78.21 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08642, allocations: 53.24 MB / 443.6 MB, free: 25.09 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.4208, allocations: 92.87 MB / 0.5239 GB, free: 10.11 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.4211, allocations: 89.02 kB / 0.524 GB, free: 10.1 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0256/0.4467, allocations: 9.987 MB / 0.5337 GB, free: 5.812 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4467, allocations: 0 / 0.5337 GB, free: 5.812 MB / 347.1 MB Notification: Performance of Transformations before backend: time 4.355e-05/0.4468, allocations: 11.75 kB / 0.5337 GB, free: 5.805 MB / 347.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.001319/0.4481, allocations: 0.7135 MB / 0.5344 GB, free: 5.07 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4482, allocations: 8.031 kB / 0.5344 GB, free: 5.062 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.4484, allocations: 55.33 kB / 0.5345 GB, free: 5.008 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.4503, allocations: 0.8721 MB / 0.5353 GB, free: 4.258 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.4504, allocations: 20.72 kB / 0.5354 GB, free: 4.238 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.4505, allocations: 24.69 kB / 0.5354 GB, free: 4.215 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005227/0.451, allocations: 319.6 kB / 0.5357 GB, free: 4.004 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.4516, allocations: 410.8 kB / 0.5361 GB, free: 3.664 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.4516, allocations: 7.938 kB / 0.5361 GB, free: 3.656 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.4517, allocations: 7.938 kB / 0.5361 GB, free: 3.652 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.4517, allocations: 8 kB / 0.5361 GB, free: 3.645 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.4536, allocations: 1.635 MB / 0.5377 GB, free: 2.207 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.454, allocations: 301.6 kB / 0.538 GB, free: 1.98 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.4544, allocations: 210 kB / 0.5382 GB, free: 1.82 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.4545, allocations: 3.75 kB / 0.5382 GB, free: 1.82 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.4548, allocations: 276.4 kB / 0.5385 GB, free: 1.574 MB / 347.1 MB Notification: Performance of pre-optimization done (n=35): time 1.933e-06/0.4548, allocations: 0 / 0.5385 GB, free: 1.574 MB / 347.1 MB Notification: Performance of matching and sorting (n=36): time 0.001335/0.4561, allocations: 0.896 MB / 0.5393 GB, free: 0.7617 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.4562, allocations: 147.8 kB / 0.5395 GB, free: 0.5898 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.4565, allocations: 302.2 kB / 0.5398 GB, free: 352 kB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.4565, allocations: 32.89 kB / 0.5398 GB, free: 316 kB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.4567, allocations: 248.3 kB / 0.54 GB, free: 124 kB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/0.4567, allocations: 114.2 kB / 0.5401 GB, free: 28 kB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.4567, allocations: 0 / 0.5401 GB, free: 28 kB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4569, allocations: 353.2 kB / 0.5405 GB, free: 15.7 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.4571, allocations: 122.5 kB / 0.5406 GB, free: 15.62 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.4574, allocations: 238.3 kB / 0.5408 GB, free: 15.38 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.4576, allocations: 153.5 kB / 0.541 GB, free: 15.27 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4577, allocations: 0 / 0.541 GB, free: 15.27 MB / 363.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007589/0.4584, allocations: 461.9 kB / 0.5414 GB, free: 14.9 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.4585, allocations: 37.69 kB / 0.5414 GB, free: 14.86 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4585, allocations: 8.031 kB / 0.5415 GB, free: 14.85 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/0.4587, allocations: 66.44 kB / 0.5415 GB, free: 14.79 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.4591, allocations: 79.39 kB / 0.5416 GB, free: 14.71 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.4614, allocations: 2.665 MB / 0.5442 GB, free: 11.95 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.4617, allocations: 15.98 kB / 0.5442 GB, free: 11.94 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.4617, allocations: 19.81 kB / 0.5442 GB, free: 11.92 MB / 363.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,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.4619, allocations: 153.5 kB / 0.5444 GB, free: 11.77 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.462, allocations: 51.38 kB / 0.5444 GB, free: 11.71 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007219/0.4627, allocations: 403.7 kB / 0.5448 GB, free: 11.41 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.4627, allocations: 4 kB / 0.5448 GB, free: 11.4 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4628, allocations: 3.938 kB / 0.5448 GB, free: 11.4 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4628, allocations: 7.984 kB / 0.5448 GB, free: 11.39 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.4641, allocations: 0.9023 MB / 0.5457 GB, free: 10.63 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4641, allocations: 0 / 0.5457 GB, free: 10.63 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.4643, allocations: 47.59 kB / 0.5458 GB, free: 10.59 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002239/0.4645, allocations: 80.7 kB / 0.5458 GB, free: 10.52 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.4646, allocations: 11.97 kB / 0.5458 GB, free: 10.5 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.4666, allocations: 2.655 MB / 0.5484 GB, free: 7.754 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4667, allocations: 0 / 0.5484 GB, free: 7.754 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009238/0.4676, allocations: 0.7094 MB / 0.5491 GB, free: 7.16 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4677, allocations: 108.7 kB / 0.5492 GB, free: 7.035 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.4678, allocations: 14.92 kB / 0.5492 GB, free: 7.023 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.468, allocations: 20.05 kB / 0.5493 GB, free: 7.004 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.4681, allocations: 35.16 kB / 0.5493 GB, free: 6.973 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.4682, allocations: 11.19 kB / 0.5493 GB, free: 6.965 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0002693/0.4685, allocations: 235.3 kB / 0.5495 GB, free: 6.781 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4685, allocations: 0 / 0.5495 GB, free: 6.781 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0005453/0.469, allocations: 104 kB / 0.5496 GB, free: 6.68 MB / 363.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002147/0.4692, allocations: 120 kB / 0.5497 GB, free: 6.559 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0008757/0.4701, allocations: 0.5945 MB / 0.5503 GB, free: 6.027 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4701, allocations: 0 / 0.5503 GB, free: 6.027 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006436/0.4708, allocations: 469.3 kB / 0.5508 GB, free: 5.598 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.4714, allocations: 75.67 kB / 0.5508 GB, free: 5.547 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.473, allocations: 0.7098 MB / 0.5515 GB, free: 4.875 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.4737, allocations: 0.8764 MB / 0.5524 GB, free: 3.984 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0002633/0.4739, allocations: 63.36 kB / 0.5525 GB, free: 3.922 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.4741, allocations: 35.44 kB / 0.5525 GB, free: 3.887 MB / 363.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4741, allocations: 0 / 0.5525 GB, free: 3.887 MB / 363.1 MB Notification: Performance of Templates: time 0.009749/0.4838, allocations: 4.597 MB / 0.557 GB, free: 15.34 MB / 379.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)