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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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(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.0008461/0.000846, allocations: 88.95 kB / 16.31 MB, free: 6.449 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.0009446/0.0009445, allocations: 181.4 kB / 17.21 MB, free: 6.32 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.376/1.376, allocations: 205.4 MB / 223.4 MB, free: 5.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3456/0.3456, allocations: 38.05 MB / 309.7 MB, free: 8.797 MB / 254.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.000484/0.0004841, allocations: 12 kB / 376.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 56.33 MB / 432.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005429/0.1097, allocations: 5.258 MB / 438.1 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.1121, allocations: 1.334 MB / 439.4 MB, free: 216 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004642/0.1126, allocations: 27.81 kB / 439.5 MB, free: 188 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.1129, allocations: 95.28 kB / 439.6 MB, free: 92 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008441/0.1138, allocations: 322.4 kB / 439.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.1142, allocations: 147.7 kB / 440 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008698/0.1151, allocations: 0.8684 MB / 440.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.1154, allocations: 135.2 kB / 441 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004054/0.1158, allocations: 262.8 kB / 441.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.1163, allocations: 350.8 kB / 441.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.1164, allocations: 24 kB / 441.6 MB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.1165, allocations: 20 kB / 441.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.1167, allocations: 175.5 kB / 441.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.1168, allocations: 117.4 kB / 441.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.1172, allocations: 418.8 kB / 442.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1173, allocations: 4 kB / 442.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1173, allocations: 0 / 442.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1173, allocations: 0 / 442.4 MB, free: 13.27 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.001348/0.1186, allocations: 0.7567 MB / 443.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1187, allocations: 12.03 kB / 443.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1188, allocations: 55.33 kB / 443.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.1195, allocations: 419.5 kB / 443.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.1195, allocations: 29 kB / 443.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.1196, allocations: 32 kB / 443.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000724/0.1203, allocations: 490.5 kB / 444.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1203, allocations: 3.938 kB / 444.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.1204, allocations: 19.95 kB / 444.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.1205, allocations: 32.62 kB / 444.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.1211, allocations: 358.7 kB / 444.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.1232, allocations: 1.722 MB / 446.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.1238, allocations: 402.3 kB / 446.7 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.1243, allocations: 221.6 kB / 446.9 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.1243, allocations: 0 / 446.9 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004108/0.1247, allocations: 291.5 kB / 447.2 MB, free: 8.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.352e-06/0.1248, allocations: 0 / 447.2 MB, free: 8.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002178/0.1269, allocations: 1.419 MB / 448.6 MB, free: 6.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.127, allocations: 136.5 kB / 448.7 MB, free: 6.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.1274, allocations: 373.5 kB / 449.1 MB, free: 6.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.1275, allocations: 33.7 kB / 449.1 MB, free: 6.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1276, allocations: 256.1 kB / 449.4 MB, free: 5.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.1277, allocations: 114.4 kB / 449.5 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.785e-05/0.1278, allocations: 4 kB / 449.5 MB, free: 5.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1279, allocations: 358.8 kB / 449.8 MB, free: 5.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.1281, allocations: 133 kB / 450 MB, free: 5.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.1284, allocations: 260 kB / 450.2 MB, free: 4.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.1286, allocations: 177.6 kB / 450.4 MB, free: 4.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1286, allocations: 4 kB / 450.4 MB, free: 4.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007639/0.1294, allocations: 0.5425 MB / 450.9 MB, free: 4.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.1295, allocations: 33.7 kB / 451 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1295, allocations: 7.938 kB / 451 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/0.1297, allocations: 77.61 kB / 451 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.13, allocations: 75.89 kB / 451.1 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.1319, allocations: 2.799 MB / 453.9 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.1322, allocations: 31.92 kB / 453.9 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.1322, allocations: 16.16 kB / 454 MB, free: 0.8555 MB / 382.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,$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,$whenCondition1,$PRE.relay.cnt,relay.cnt) * 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 (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.0002413/0.1325, allocations: 247.3 kB / 454.2 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.1325, allocations: 39.53 kB / 454.2 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007638/0.1333, allocations: 0.4928 MB / 454.7 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1333, allocations: 15.95 kB / 454.8 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1333, allocations: 0 / 454.8 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1333, allocations: 0 / 454.8 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2145/0.3478, allocations: 1.059 MB / 455.8 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3479, allocations: 0 / 455.8 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.3481, allocations: 44.52 kB / 455.9 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.3483, allocations: 86.98 kB / 455.9 MB, free: 51.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.3484, allocations: 12.31 kB / 455.9 MB, free: 51.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.3498, allocations: 2.794 MB / 458.7 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3499, allocations: 0.625 kB / 458.7 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009425/0.3508, allocations: 0.7857 MB / 459.5 MB, free: 48.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.143e-05/0.3509, allocations: 118.8 kB / 459.6 MB, free: 48.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.989e-05/0.351, allocations: 9.188 kB / 459.7 MB, free: 48.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.3513, allocations: 26.61 kB / 459.7 MB, free: 48.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.3514, allocations: 37.31 kB / 459.7 MB, free: 48.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.3514, allocations: 19.28 kB / 459.7 MB, free: 48.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002231/0.3516, allocations: 255.2 kB / 460 MB, free: 48.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3516, allocations: 0 / 460 MB, free: 48.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.3521, allocations: 111.8 kB / 460.1 MB, free: 48.38 MB / 382.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) * Number of clocked states: 0 () * 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.0001215/0.3523, allocations: 116.9 kB / 460.2 MB, free: 48.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000872/0.3531, allocations: 0.6433 MB / 460.9 MB, free: 48.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.3532, allocations: 2.938 kB / 460.9 MB, free: 48.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.3537, allocations: 0.4922 MB / 461.3 MB, free: 47.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.3542, allocations: 96.16 kB / 461.4 MB, free: 47.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.3557, allocations: 1.212 MB / 462.7 MB, free: 47.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.356, allocations: 0.8664 MB / 463.5 MB, free: 46.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002426/0.3562, allocations: 71.88 kB / 463.6 MB, free: 46.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.3563, allocations: 36.28 kB / 463.6 MB, free: 46.45 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3563, allocations: 0 / 463.6 MB, free: 46.45 MB / 382.1 MB Notification: Performance of Templates: time 0.008663/0.365, allocations: 4.835 MB / 468.5 MB, free: 46.17 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: