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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.001051/0.001051, allocations: 191.9 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.269/1.269, allocations: 194.2 MB / 212.2 MB, free: 2.367 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.001676/0.001676, allocations: 127.5 kB / 256.6 MB, free: 4.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1702/0.1702, allocations: 37.96 MB / 338.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.84 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1161, allocations: 52.19 MB / 454 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005831/0.122, allocations: 5.924 MB / 459.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1241, allocations: 1.388 MB / 461.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.1244, allocations: 27.81 kB / 461.3 MB, free: 9.184 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.1247, allocations: 87.44 kB / 461.4 MB, free: 9.098 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005505/0.1253, allocations: 290.7 kB / 461.7 MB, free: 8.812 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1256, allocations: 123.9 kB / 461.8 MB, free: 8.691 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006922/0.1263, allocations: 1.095 MB / 462.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.1266, allocations: 168.3 kB / 463.1 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.1269, allocations: 282.7 kB / 463.4 MB, free: 7.145 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004334/0.1273, allocations: 370.7 kB / 463.7 MB, free: 6.781 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.348e-05/0.1274, allocations: 24 kB / 463.7 MB, free: 6.758 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.957e-05/0.1274, allocations: 28 kB / 463.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.1276, allocations: 191.4 kB / 464 MB, free: 6.543 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.1278, allocations: 246.7 kB / 464.2 MB, free: 6.301 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.1282, allocations: 0.5178 MB / 464.7 MB, free: 5.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1282, allocations: 0 / 464.7 MB, free: 5.781 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1282, allocations: 0 / 464.7 MB, free: 5.781 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1282, allocations: 3.938 kB / 464.7 MB, free: 5.777 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001248/0.1295, allocations: 0.8307 MB / 465.6 MB, free: 4.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1295, allocations: 12.03 kB / 465.6 MB, free: 4.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.1296, allocations: 56.27 kB / 465.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.1301, allocations: 432.5 kB / 466 MB, free: 4.371 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.1302, allocations: 28.94 kB / 466.1 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.1302, allocations: 36 kB / 466.1 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.1308, allocations: 482.5 kB / 466.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1308, allocations: 7.984 kB / 466.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.1309, allocations: 16 kB / 466.6 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.513e-05/0.131, allocations: 32.62 kB / 466.6 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.1314, allocations: 366.6 kB / 467 MB, free: 3.391 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.1332, allocations: 1.707 MB / 468.7 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.1337, allocations: 414.2 kB / 469.1 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/0.1341, allocations: 229.6 kB / 469.3 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.1342, allocations: 4 kB / 469.3 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.1345, allocations: 283.6 kB / 469.6 MB, free: 0.625 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.1345, allocations: 0 / 469.6 MB, free: 0.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002132/0.1367, allocations: 1.412 MB / 471 MB, free: 15.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.895e-05/0.1368, allocations: 140.5 kB / 471.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.1372, allocations: 369.6 kB / 471.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.1372, allocations: 37.7 kB / 471.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.1374, allocations: 255.9 kB / 471.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.978e-05/0.1375, allocations: 110.6 kB / 471.9 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.1376, allocations: 82.16 kB / 472 MB, free: 14.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1378, allocations: 358.8 kB / 472.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.138, allocations: 129 kB / 472.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.1383, allocations: 260.1 kB / 472.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/0.1388, allocations: 441.5 kB / 473.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1388, allocations: 4 kB / 473.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000813/0.1396, allocations: 0.5429 MB / 473.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.1397, allocations: 37.69 kB / 473.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.1397, allocations: 4 kB / 473.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002685/0.14, allocations: 77.67 kB / 473.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.1402, allocations: 79.83 kB / 473.9 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.1423, allocations: 2.777 MB / 476.7 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.1426, allocations: 27.97 kB / 476.7 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.1426, allocations: 20 kB / 476.7 MB, free: 8.91 MB / 330.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,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002597/0.1429, allocations: 243.4 kB / 477 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.143, allocations: 43.47 kB / 477 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008217/0.1438, allocations: 0.5048 MB / 477.5 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1438, allocations: 7.938 kB / 477.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1438, allocations: 0 / 477.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1438, allocations: 0 / 477.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.1453, allocations: 1.064 MB / 478.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1453, allocations: 0 / 478.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.1455, allocations: 47.91 kB / 478.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.1457, allocations: 93.66 kB / 478.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.1458, allocations: 15.92 kB / 478.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.1479, allocations: 2.787 MB / 481.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1479, allocations: 4.156 kB / 481.5 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008354/0.1563, allocations: 6.959 MB / 488.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.1564, allocations: 120.6 kB / 488.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.1565, allocations: 12 kB / 488.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.1567, allocations: 19.97 kB / 488.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.1569, allocations: 36.17 kB / 488.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.1569, allocations: 12 kB / 488.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002909/0.1572, allocations: 259.2 kB / 488.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1572, allocations: 0 / 488.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000688/0.1579, allocations: 168 kB / 489.1 MB, free: 11.66 MB / 346.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0001683/0.1581, allocations: 119.2 kB / 489.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009272/0.159, allocations: 0.6331 MB / 489.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.159, allocations: 0 / 489.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006186/0.1596, allocations: 0.4937 MB / 490.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.1602, allocations: 85.45 kB / 490.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.1623, allocations: 1.733 MB / 492.1 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.1628, allocations: 0.8743 MB / 493 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002614/0.163, allocations: 87.27 kB / 493.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.943e-05/0.1631, allocations: 31.44 kB / 493.1 MB, free: 7.414 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1632, allocations: 0 / 493.1 MB, free: 7.414 MB / 346.7 MB Notification: Performance of Templates: time 0.01145/0.1746, allocations: 6.51 MB / 499.7 MB, free: 0.9062 MB / 346.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile (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)