Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002322/0.002328, allocations: 184.4 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 94.45 kB / 267.1 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2924/0.2924, allocations: 37.97 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.973e-05/3.99e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 56.32 MB / 473.1 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5292/0.6377, allocations: 105.3 MB / 0.5648 GB, free: 14.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/0.6381, allocations: 87.94 kB / 0.5649 GB, free: 14.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09835/0.7365, allocations: 19.52 MB / 0.584 GB, free: 10.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7366, allocations: 0 / 0.584 GB, free: 10.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.655e-05/0.7367, allocations: 16 kB / 0.584 GB, free: 10.65 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004259/0.7409, allocations: 1.055 MB / 0.585 GB, free: 9.531 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.741, allocations: 12.03 kB / 0.585 GB, free: 9.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.7425, allocations: 134.8 kB / 0.5852 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00528/0.7478, allocations: 1.025 MB / 0.5862 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.748, allocations: 65.92 kB / 0.5862 GB, free: 8.258 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/0.7483, allocations: 71.91 kB / 0.5863 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003933/0.7523, allocations: 1.041 MB / 0.5873 GB, free: 7.086 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.439e-05/0.7524, allocations: 7.938 kB / 0.5873 GB, free: 7.078 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/0.7526, allocations: 39.91 kB / 0.5874 GB, free: 7.039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.7528, allocations: 45.98 kB / 0.5874 GB, free: 6.992 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003515/0.7563, allocations: 0.8745 MB / 0.5883 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.7678, allocations: 4.139 MB / 0.5923 GB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/0.7705, allocations: 0.703 MB / 0.593 GB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.772, allocations: 455.8 kB / 0.5934 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.7722, allocations: 16.55 kB / 0.5934 GB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002065/0.7742, allocations: 0.6431 MB / 0.5941 GB, free: 15.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 4.789e-06/0.7743, allocations: 0 / 0.5941 GB, free: 15.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.008388/0.7827, allocations: 2.317 MB / 0.5963 GB, free: 13.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.7829, allocations: 153.3 kB / 0.5965 GB, free: 13.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.7839, allocations: 399.1 kB / 0.5968 GB, free: 12.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001627/0.7841, allocations: 45.7 kB / 0.5969 GB, free: 12.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005137/0.7847, allocations: 414.3 kB / 0.5973 GB, free: 12.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004912/0.7852, allocations: 296 kB / 0.5976 GB, free: 12.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.7853, allocations: 20 kB / 0.5976 GB, free: 12.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.7855, allocations: 358.8 kB / 0.5979 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.7871, allocations: 398.2 kB / 0.5983 GB, free: 11.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.7888, allocations: 0.5941 MB / 0.5989 GB, free: 10.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.7906, allocations: 0.4942 MB / 0.5994 GB, free: 10.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.7906, allocations: 0 / 0.5994 GB, free: 10.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.006772/0.7974, allocations: 1.481 MB / 0.6008 GB, free: 8.777 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.7975, allocations: 39.73 kB / 0.6009 GB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005567/0.8031, allocations: 1.187 MB / 0.602 GB, free: 7.543 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002931/0.8061, allocations: 436.4 kB / 0.6024 GB, free: 7.113 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.8074, allocations: 139.7 kB / 0.6026 GB, free: 6.977 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/0.8226, allocations: 4.702 MB / 0.6072 GB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.8238, allocations: 75.94 kB / 0.6072 GB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.824, allocations: 36 kB / 0.6073 GB, free: 2.031 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.breaker.breaker_a.arc,breaker.breaker_a.arc,$PRE.breaker.breaker_a.open,breaker.breaker_a.open,breaker.breaker_a.closed,$PRE.breaker.breaker_a.t0,breaker.breaker_a.t0,breaker.breaker_a.opening,$PRE.breaker.breaker_b.arc,breaker.breaker_b.arc,$PRE.breaker.breaker_b.open,breaker.breaker_b.open,breaker.breaker_b.closed,$PRE.breaker.breaker_b.t0,breaker.breaker_b.t0,breaker.breaker_b.opening,$PRE.breaker.breaker_c.arc,breaker.breaker_c.arc,$PRE.breaker.breaker_c.open,breaker.breaker_c.open,breaker.breaker_c.closed,$PRE.breaker.breaker_c.t0,breaker.breaker_c.t0,breaker.breaker_c.opening,$PRE.relay.y[1],relay.y[1],$PRE.relay.y[2],relay.y[2],$PRE.relay.y[3],relay.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * 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 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004112/0.8244, allocations: 226.4 kB / 0.6075 GB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.8246, allocations: 71.14 kB / 0.6075 GB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/0.8278, allocations: 1.148 MB / 0.6087 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.531e-05/0.8279, allocations: 16 kB / 0.6087 GB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.8279, allocations: 7.953 kB / 0.6087 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.8279, allocations: 3.984 kB / 0.6087 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005896/0.8338, allocations: 2.205 MB / 0.6108 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.8339, allocations: 4 kB / 0.6109 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.8352, allocations: 131.8 kB / 0.611 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.8355, allocations: 90.59 kB / 0.6111 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.8356, allocations: 23.98 kB / 0.6111 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/0.8392, allocations: 3.918 MB / 0.6149 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.8393, allocations: 0 / 0.6149 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/0.8441, allocations: 1.825 MB / 0.6167 GB, free: 7.789 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.8444, allocations: 140.3 kB / 0.6168 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.8447, allocations: 31.95 kB / 0.6169 GB, free: 7.602 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008873/0.8456, allocations: 63.92 kB / 0.6169 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/0.8459, allocations: 80.66 kB / 0.617 GB, free: 7.461 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.792e-05/0.846, allocations: 28 kB / 0.617 GB, free: 7.434 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005789/0.8466, allocations: 309.2 kB / 0.6173 GB, free: 7.129 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8466, allocations: 0 / 0.6173 GB, free: 7.129 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001344/0.848, allocations: 283.9 kB / 0.6176 GB, free: 6.852 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_b.closed,breaker.breaker_a.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_c.open,breaker.breaker_a.open,breaker.breaker_b.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(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.0004623/0.8484, allocations: 178.1 kB / 0.6178 GB, free: 6.664 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003917/0.8524, allocations: 1.352 MB / 0.6191 GB, free: 5.293 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.8524, allocations: 0 / 0.6191 GB, free: 5.293 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.8546, allocations: 0.9458 MB / 0.62 GB, free: 4.293 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009577/0.8556, allocations: 109.9 kB / 0.6201 GB, free: 4.188 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.8599, allocations: 1.529 MB / 0.6216 GB, free: 2.621 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009298/0.8609, allocations: 1.053 MB / 0.6226 GB, free: 1.543 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/0.8615, allocations: 59.42 kB / 0.6227 GB, free: 1.484 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/0.8615, allocations: 0 / 0.6227 GB, free: 1.484 MB / 458.7 MB Notification: Performance of Templates: time 0.03467/0.8962, allocations: 15.97 MB / 0.6383 GB, free: 1.492 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1)