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.002901/0.002901, allocations: 185.3 kB / 16.38 MB, free: 5.598 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 1.805/1.805, allocations: 194.5 MB / 211.6 MB, free: 7.598 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001856/0.001856, allocations: 124.5 kB / 256.9 MB, free: 10.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2388/0.2388, allocations: 38.01 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004617, allocations: 12.59 kB / 403.8 MB, free: 55.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06877/0.06926, allocations: 53.22 MB / 457 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005076/0.07438, allocations: 5.052 MB / 462.1 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.07641, allocations: 1.357 MB / 463.4 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.07671, allocations: 27.81 kB / 463.5 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.077, allocations: 83.47 kB / 463.5 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000594/0.07761, allocations: 267.1 kB / 463.8 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.07799, allocations: 147.7 kB / 463.9 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.07842, allocations: 375.2 kB / 464.3 MB, free: 3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.07868, allocations: 145.4 kB / 464.5 MB, free: 2.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.07901, allocations: 235.1 kB / 464.7 MB, free: 2.621 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.0794, allocations: 239.2 kB / 464.9 MB, free: 2.387 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-05/0.07948, allocations: 20 kB / 464.9 MB, free: 2.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.07957, allocations: 20 kB / 465 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.07975, allocations: 163.5 kB / 465.1 MB, free: 2.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.07987, allocations: 109.5 kB / 465.2 MB, free: 2.074 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.08029, allocations: 418.9 kB / 465.6 MB, free: 1.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.0803, allocations: 0 / 465.6 MB, free: 1.664 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.962e-06/0.08032, allocations: 4 kB / 465.6 MB, free: 1.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.45e-06/0.08034, allocations: 0 / 465.6 MB, free: 1.66 MB / 298.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.001258/0.0816, allocations: 0.7567 MB / 466.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.08165, allocations: 12.02 kB / 466.4 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.08177, allocations: 55.34 kB / 466.5 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.08239, allocations: 415.4 kB / 466.9 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.08245, allocations: 29 kB / 466.9 MB, free: 320 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.08253, allocations: 35.98 kB / 466.9 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008961/0.08344, allocations: 490.4 kB / 467.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.08347, allocations: 3.984 kB / 467.4 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.827e-05/0.08354, allocations: 16 kB / 467.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.08368, allocations: 28.62 kB / 467.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008691/0.08457, allocations: 362.6 kB / 467.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.08765, allocations: 1.719 MB / 469.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008645/0.08854, allocations: 402.2 kB / 469.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.08859, allocations: 12.03 kB / 469.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005668/0.08917, allocations: 283.7 kB / 470.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 3.212e-06/0.08919, allocations: 0 / 470.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.003174/0.09237, allocations: 1.488 MB / 471.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.0925, allocations: 144.6 kB / 471.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.09306, allocations: 373.5 kB / 472.2 MB, free: 10.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.09312, allocations: 37.7 kB / 472.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.09338, allocations: 248 kB / 472.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.09352, allocations: 110.5 kB / 472.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.09356, allocations: 12 kB / 472.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.09378, allocations: 350.8 kB / 472.9 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.09413, allocations: 137 kB / 473.1 MB, free: 9.758 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.09458, allocations: 252.1 kB / 473.3 MB, free: 9.457 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.09499, allocations: 189.3 kB / 473.5 MB, free: 9.266 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.809e-06/0.09501, allocations: 8 kB / 473.5 MB, free: 9.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001241/0.09626, allocations: 0.5269 MB / 474 MB, free: 8.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.09633, allocations: 41.91 kB / 474.1 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.09635, allocations: 8 kB / 474.1 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.0967, allocations: 77.67 kB / 474.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.09707, allocations: 75.78 kB / 474.2 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/0.1002, allocations: 2.81 MB / 477 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.1006, allocations: 35.92 kB / 477.1 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.1007, allocations: 20 kB / 477.1 MB, free: 5.375 MB / 314.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.0003715/0.1011, allocations: 243.3 kB / 477.3 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.1012, allocations: 39.53 kB / 477.4 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.1024, allocations: 0.5007 MB / 477.9 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.491e-06/0.1024, allocations: 4 kB / 477.9 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1024, allocations: 0 / 477.9 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.035e-06/0.1024, allocations: 3.938 kB / 477.9 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.1046, allocations: 1.056 MB / 478.9 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.926e-06/0.1046, allocations: 4 kB / 478.9 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.1049, allocations: 43.91 kB / 479 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000355/0.1053, allocations: 89.67 kB / 479.1 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.1053, allocations: 11.98 kB / 479.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/0.1084, allocations: 2.818 MB / 481.9 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.668e-06/0.1084, allocations: 4.094 kB / 481.9 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.1101, allocations: 0.8064 MB / 482.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.1103, allocations: 108.7 kB / 482.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.53e-05/0.1104, allocations: 23.98 kB / 482.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.1107, allocations: 19.98 kB / 482.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.1109, allocations: 35.81 kB / 482.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.1109, allocations: 15.98 kB / 482.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003908/0.1113, allocations: 259.2 kB / 483.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.1113, allocations: 0 / 483.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006557/0.112, allocations: 112 kB / 483.3 MB, free: 14.75 MB / 330.7 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.0001794/0.1122, allocations: 119.1 kB / 483.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.1135, allocations: 0.6497 MB / 484 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.492e-06/0.1135, allocations: 0 / 484 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009005/0.1145, allocations: 0.4887 MB / 484.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.115, allocations: 89.59 kB / 484.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.1172, allocations: 1.201 MB / 485.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.1179, allocations: 0.8782 MB / 486.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003481/0.1183, allocations: 71.36 kB / 486.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.1184, allocations: 35.42 kB / 486.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.446e-06/0.1184, allocations: 0 / 486.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of Templates: time 0.01342/0.1318, allocations: 4.823 MB / 491.6 MB, free: 6.27 MB / 330.7 MB