Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001312/0.001312, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.284/1.284, allocations: 194.2 MB / 212.2 MB, free: 2.359 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001699/0.001699, allocations: 135.4 kB / 256.6 MB, free: 4.328 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1648/0.1648, allocations: 37.95 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/0.09122, allocations: 52.2 MB / 454 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.005727/0.09698, allocations: 6.82 MB / 460.8 MB, free: 9.707 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.1002, allocations: 2.353 MB / 463.2 MB, free: 7.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000454/0.1007, allocations: 31.81 kB / 463.2 MB, free: 7.312 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.1019, allocations: 486.1 kB / 463.7 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009609/0.1029, allocations: 462.1 kB / 464.1 MB, free: 6.383 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.1035, allocations: 323.5 kB / 464.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009038/0.1044, allocations: 1.466 MB / 465.9 MB, free: 4.598 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004956/0.1049, allocations: 483.5 kB / 466.4 MB, free: 4.121 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.1053, allocations: 390.4 kB / 466.8 MB, free: 3.738 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000539/0.1058, allocations: 0.5762 MB / 467.3 MB, free: 3.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.416e-05/0.1059, allocations: 48 kB / 467.4 MB, free: 3.113 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006506/0.1066, allocations: 499.2 kB / 467.9 MB, free: 2.625 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.1068, allocations: 363 kB / 468.2 MB, free: 2.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.1072, allocations: 437.7 kB / 468.7 MB, free: 1.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007635/0.1079, allocations: 1.188 MB / 469.8 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.108, allocations: 0 / 469.8 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.108, allocations: 0 / 469.8 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.108, allocations: 0 / 469.8 MB, free: 0.6484 MB / 314.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.002147/0.1101, allocations: 1.237 MB / 471.1 MB, free: 15.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1102, allocations: 8.031 kB / 471.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.1108, allocations: 131.8 kB / 471.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008933/0.1117, allocations: 0.554 MB / 471.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.1118, allocations: 66.36 kB / 471.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.112, allocations: 83.92 kB / 471.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.1135, allocations: 1.084 MB / 473 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.1135, allocations: 3.938 kB / 473 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.329e-05/0.1136, allocations: 28 kB / 473 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/0.1137, allocations: 49.98 kB / 473.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.1151, allocations: 0.9406 MB / 474 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/0.12, allocations: 4.223 MB / 478.2 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.1211, allocations: 0.9455 MB / 479.2 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/0.1217, allocations: 447.5 kB / 479.6 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.134e-05/0.1217, allocations: 12.55 kB / 479.6 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008217/0.1226, allocations: 0.6358 MB / 480.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.364e-06/0.1226, allocations: 0 / 480.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.004591/0.1272, allocations: 2.912 MB / 483.2 MB, free: 2.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.1273, allocations: 153.5 kB / 483.3 MB, free: 2.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.1278, allocations: 469.8 kB / 483.8 MB, free: 2.066 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/0.1279, allocations: 49.7 kB / 483.8 MB, free: 2.012 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.1281, allocations: 387.6 kB / 484.2 MB, free: 1.625 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.1283, allocations: 288.1 kB / 484.5 MB, free: 1.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.1286, allocations: 174.9 kB / 484.7 MB, free: 1.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1287, allocations: 382.8 kB / 485 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.1293, allocations: 394.4 kB / 485.4 MB, free: 404 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007675/0.1301, allocations: 0.6168 MB / 486 MB, free: 15.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.1314, allocations: 1.075 MB / 487.1 MB, free: 14.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.1314, allocations: 4 kB / 487.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002819/0.1342, allocations: 1.517 MB / 488.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/0.1343, allocations: 37.69 kB / 488.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00222/0.1365, allocations: 1.164 MB / 489.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.1378, allocations: 437 kB / 490.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.1383, allocations: 123.8 kB / 490.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006723/0.145, allocations: 4.731 MB / 495.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.1456, allocations: 63.94 kB / 495.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.636e-05/0.1457, allocations: 36 kB / 495.2 MB, free: 6.246 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,relay.cnt,$PRE.relay.cnt,$whenCondition1,relay.y[3],$PRE.relay.y[3],relay.y[2],$PRE.relay.y[2],relay.y[1],$PRE.relay.y[1],breaker.breaker_c.opening,breaker.breaker_c.t0,$PRE.breaker.breaker_c.t0,breaker.breaker_c.closed,breaker.breaker_c.open,$PRE.breaker.breaker_c.open,breaker.breaker_c.arc,$PRE.breaker.breaker_c.arc,breaker.breaker_b.opening,breaker.breaker_b.t0,$PRE.breaker.breaker_b.t0,breaker.breaker_b.closed,breaker.breaker_b.open,$PRE.breaker.breaker_b.open,breaker.breaker_b.arc,$PRE.breaker.breaker_b.arc,breaker.breaker_a.opening,breaker.breaker_a.t0,$PRE.breaker.breaker_a.t0,breaker.breaker_a.closed,breaker.breaker_a.open,$PRE.breaker.breaker_a.open,breaker.breaker_a.arc,$PRE.breaker.breaker_a.arc,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0005375/0.1463, allocations: 363.1 kB / 495.6 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.1464, allocations: 71.16 kB / 495.6 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.1481, allocations: 1.119 MB / 496.8 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.1481, allocations: 19.88 kB / 496.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1481, allocations: 4 kB / 496.8 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.1482, allocations: 3.984 kB / 496.8 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.1512, allocations: 2.144 MB / 498.9 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.1512, allocations: 8.047 kB / 498.9 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.1517, allocations: 123.8 kB / 499.1 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.1519, allocations: 86.47 kB / 499.1 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/0.152, allocations: 31.92 kB / 499.2 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.1544, allocations: 3.91 MB / 0.4913 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1544, allocations: 3.938 kB / 0.4913 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/0.1715, allocations: 13.11 MB / 0.5041 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1668/0.3383, allocations: 134.5 kB / 0.5042 GB, free: 65.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/0.3387, allocations: 24.95 kB / 0.5043 GB, free: 65.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/0.3392, allocations: 47.16 kB / 0.5043 GB, free: 65.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.3395, allocations: 85.39 kB / 0.5044 GB, free: 65.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.3395, allocations: 32.11 kB / 0.5044 GB, free: 65.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004156/0.34, allocations: 324.1 kB / 0.5047 GB, free: 65.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.34, allocations: 0 / 0.5047 GB, free: 65.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001188/0.3412, allocations: 355.9 kB / 0.5051 GB, free: 65.49 MB / 362.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_a.closed,breaker.breaker_b.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_b.open,breaker.breaker_a.open,breaker.breaker_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002521/0.3414, allocations: 159.5 kB / 0.5052 GB, free: 65.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.3433, allocations: 1.353 MB / 0.5065 GB, free: 65.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3433, allocations: 0 / 0.5065 GB, free: 65.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009626/0.3443, allocations: 0.9434 MB / 0.5075 GB, free: 64.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.345, allocations: 118.8 kB / 0.5076 GB, free: 64.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.3489, allocations: 3.091 MB / 0.5106 GB, free: 63.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.3495, allocations: 1.061 MB / 0.5116 GB, free: 62.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006483/0.3501, allocations: 209.4 kB / 0.5118 GB, free: 62.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.3504, allocations: 60.16 kB / 0.5119 GB, free: 62.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3504, allocations: 0 / 0.5119 GB, free: 62.43 MB / 362.7 MB Notification: Performance of Templates: time 0.02168/0.3721, allocations: 14.91 MB / 0.5264 GB, free: 55.79 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1)