Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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_master_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002531/0.002531, allocations: 361.6 kB / 17.21 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.882/3.882, allocations: 388.9 MB / 406.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003531/0.003531, allocations: 223.9 kB / 452.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7668/0.7668, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004971, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 53.23 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.008929/0.1103, allocations: 5.248 MB / 0.6794 GB, free: 55.57 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003873/0.1142, allocations: 1.322 MB / 0.6806 GB, free: 54.24 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006397/0.1149, allocations: 23.81 kB / 0.6807 GB, free: 54.22 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.1154, allocations: 87.36 kB / 0.6807 GB, free: 54.13 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.1167, allocations: 318.3 kB / 0.6811 GB, free: 53.82 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006784/0.1174, allocations: 151.7 kB / 0.6812 GB, free: 53.67 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.1188, allocations: 0.8528 MB / 0.682 GB, free: 52.82 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.1192, allocations: 143.2 kB / 0.6822 GB, free: 52.67 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006186/0.1199, allocations: 254.8 kB / 0.6824 GB, free: 52.42 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008496/0.1207, allocations: 346.8 kB / 0.6827 GB, free: 52.08 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.541e-05/0.1208, allocations: 20 kB / 0.6828 GB, free: 52.06 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.121, allocations: 20 kB / 0.6828 GB, free: 52.04 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.1213, allocations: 183.5 kB / 0.683 GB, free: 51.86 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.1215, allocations: 117.4 kB / 0.6831 GB, free: 51.74 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000662/0.1222, allocations: 410.9 kB / 0.6835 GB, free: 51.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1222, allocations: 4 kB / 0.6835 GB, free: 51.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1222, allocations: 0 / 0.6835 GB, free: 51.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1222, allocations: 0 / 0.6835 GB, free: 51.33 MB / 442.7 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.002317/0.1246, allocations: 0.7643 MB / 0.6842 GB, free: 50.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.1246, allocations: 8.031 kB / 0.6842 GB, free: 50.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.1248, allocations: 55.44 kB / 0.6843 GB, free: 50.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.126, allocations: 407.5 kB / 0.6847 GB, free: 50.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.126, allocations: 29 kB / 0.6847 GB, free: 49.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.1262, allocations: 47.88 kB / 0.6847 GB, free: 49.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.1276, allocations: 482.5 kB / 0.6852 GB, free: 49.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.1277, allocations: 7.938 kB / 0.6852 GB, free: 49.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.1278, allocations: 19.98 kB / 0.6852 GB, free: 49.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/0.128, allocations: 28.62 kB / 0.6852 GB, free: 49.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1293, allocations: 366.7 kB / 0.6856 GB, free: 49.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.1333, allocations: 1.719 MB / 0.6873 GB, free: 47.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1345, allocations: 411 kB / 0.6877 GB, free: 46.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009345/0.1354, allocations: 221.6 kB / 0.6879 GB, free: 46.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.1355, allocations: 7.984 kB / 0.6879 GB, free: 46.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007411/0.1362, allocations: 284.4 kB / 0.6882 GB, free: 46.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 4.218e-06/0.1363, allocations: 7.938 kB / 0.6882 GB, free: 46.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.004308/0.1406, allocations: 1.415 MB / 0.6895 GB, free: 44.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.1407, allocations: 140.5 kB / 0.6897 GB, free: 44.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/0.1414, allocations: 373.7 kB / 0.69 GB, free: 44.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/0.1415, allocations: 33.7 kB / 0.6901 GB, free: 44.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.1417, allocations: 256 kB / 0.6903 GB, free: 43.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.1419, allocations: 106.5 kB / 0.6904 GB, free: 43.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.142, allocations: 12 kB / 0.6904 GB, free: 43.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1421, allocations: 354.8 kB / 0.6908 GB, free: 43.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/0.1426, allocations: 129 kB / 0.6909 GB, free: 43.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.1432, allocations: 256.1 kB / 0.6911 GB, free: 42.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000546/0.1437, allocations: 185.6 kB / 0.6913 GB, free: 42.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.433e-06/0.1438, allocations: 0 / 0.6913 GB, free: 42.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00175/0.1455, allocations: 0.546 MB / 0.6918 GB, free: 42.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.1456, allocations: 37.69 kB / 0.6919 GB, free: 42.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.1456, allocations: 4.469 kB / 0.6919 GB, free: 42.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/0.1461, allocations: 85.61 kB / 0.692 GB, free: 42.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.1469, allocations: 71.89 kB / 0.692 GB, free: 42.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.1501, allocations: 2.783 MB / 0.6947 GB, free: 38.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.1507, allocations: 27.98 kB / 0.6948 GB, free: 38.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/0.1507, allocations: 20 kB / 0.6948 GB, free: 38.91 MB / 442.7 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.0003515/0.1511, allocations: 251.3 kB / 0.695 GB, free: 38.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.1512, allocations: 39.53 kB / 0.6951 GB, free: 38.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.1524, allocations: 0.5046 MB / 0.6956 GB, free: 38.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1524, allocations: 3.984 kB / 0.6956 GB, free: 38.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1525, allocations: 0 / 0.6956 GB, free: 38.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1526, allocations: 108.6 kB / 0.6957 GB, free: 37.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.527e-05/0.1527, allocations: 19.98 kB / 0.6957 GB, free: 37.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.1531, allocations: 23.98 kB / 0.6957 GB, free: 37.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.1532, allocations: 27.95 kB / 0.6957 GB, free: 37.89 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001546/0.1547, allocations: 0.7132 MB / 0.6964 GB, free: 37.14 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001418/0.1562, allocations: 0.8843 MB / 0.6973 GB, free: 36.23 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000396/0.1566, allocations: 179.9 kB / 0.6975 GB, free: 36.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003487/0.157, allocations: 259.2 kB / 0.6977 GB, free: 35.81 MB / 442.7 MB Notification: Performance of Backend: time 1.092e-06/0.157, allocations: 0 / 0.6977 GB, free: 35.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.1586, allocations: 0.5937 MB / 0.6983 GB, free: 35.17 MB / 442.7 MB Notification: Performance of SimCode: time 0.00234/0.161, allocations: 1.679 MB / 0.6999 GB, free: 33.43 MB / 442.7 MB Notification: Performance of Templates: time 0.01428/0.1753, allocations: 4.957 MB / 0.7048 GB, free: 28.49 MB / 442.7 MB