Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultTline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline") translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultTline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 110.9 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 186.6 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.1 MB / 224.6 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1811/0.1811, allocations: 37.99 MB / 309.9 MB, free: 5.949 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 432.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09452, allocations: 55.25 MB / 487.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.FaultTline): time 0.01001/0.1046, allocations: 8.987 MB / 496.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005243/0.1098, allocations: 3.066 MB / 499.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000771/0.1106, allocations: 23.88 kB / 499.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.113, allocations: 0.8402 MB / 0.489 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.1151, allocations: 0.8084 MB / 0.4898 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.1167, allocations: 0.7057 MB / 0.4905 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002589/0.1193, allocations: 2.155 MB / 0.4926 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.1206, allocations: 0.8306 MB / 0.4934 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.1222, allocations: 0.9226 MB / 0.4943 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.1241, allocations: 1.153 MB / 0.4954 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005898/0.1247, allocations: 176 kB / 0.4956 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.1262, allocations: 0.6125 MB / 0.4962 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000943/0.1272, allocations: 0.7481 MB / 0.4969 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.1288, allocations: 0.9137 MB / 0.4978 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.1316, allocations: 2.321 MB / 0.5001 GB, free: 15.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1316, allocations: 0 / 0.5001 GB, free: 15.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1316, allocations: 0 / 0.5001 GB, free: 15.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.914e-05/0.1317, allocations: 0 / 0.5001 GB, free: 15.95 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004798/0.1365, allocations: 2.161 MB / 0.5022 GB, free: 13.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1365, allocations: 15.89 kB / 0.5022 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.1379, allocations: 258.7 kB / 0.5024 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.1397, allocations: 0.9735 MB / 0.5034 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.1398, allocations: 110.5 kB / 0.5035 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004999/0.1403, allocations: 219.8 kB / 0.5037 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/0.1434, allocations: 2.07 MB / 0.5057 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.1434, allocations: 4 kB / 0.5057 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.1436, allocations: 51.98 kB / 0.5058 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005597/0.1442, allocations: 126.4 kB / 0.5059 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/0.1471, allocations: 1.864 MB / 0.5077 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.1575, allocations: 7.276 MB / 0.5148 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.1603, allocations: 2.114 MB / 0.5169 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.1619, allocations: 1.132 MB / 0.518 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.012e-05/0.162, allocations: 25.3 kB / 0.518 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002099/0.1641, allocations: 1.555 MB / 0.5195 GB, free: 11.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=214): time 3.847e-06/0.1641, allocations: 0 / 0.5195 GB, free: 11.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01074/0.1749, allocations: 7.098 MB / 0.5265 GB, free: 4.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.175, allocations: 255.6 kB / 0.5267 GB, free: 3.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009457/0.176, allocations: 0.782 MB / 0.5275 GB, free: 2.988 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.1761, allocations: 81.62 kB / 0.5275 GB, free: 2.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004342/0.1766, allocations: 0.5517 MB / 0.5281 GB, free: 2.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005415/0.1771, allocations: 0.6551 MB / 0.5287 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006483/0.1778, allocations: 388.3 kB / 0.5291 GB, free: 1.289 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1779, allocations: 309.1 kB / 0.5294 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2123/0.3902, allocations: 1.044 MB / 0.5304 GB, free: 51.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002532/0.3928, allocations: 1.399 MB / 0.5318 GB, free: 50.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003402/0.3962, allocations: 2.613 MB / 0.5343 GB, free: 49.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.3963, allocations: 1.156 kB / 0.5343 GB, free: 49.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.01023/0.4065, allocations: 4.694 MB / 0.5389 GB, free: 48.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.4066, allocations: 61.83 kB / 0.539 GB, free: 48.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009316/0.4159, allocations: 4.148 MB / 0.543 GB, free: 46.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006526/0.4224, allocations: 2.294 MB / 0.5453 GB, free: 46.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006976/0.4232, allocations: 173.8 kB / 0.5454 GB, free: 46.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02457/0.4477, allocations: 17.86 MB / 0.5629 GB, free: 34.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4493, allocations: 143.8 kB / 0.563 GB, free: 34.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.4494, allocations: 77.23 kB / 0.5631 GB, free: 34.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 108 (system.initime,abc.fault_pp1.t0,$PRE.abc.fault_pp1.t0,abc.fault_pp2.t0,$PRE.abc.fault_pp2.t0,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,abc.fault_pp2.on,$PRE.abc.fault_pp2.on,abc.fault_pp1.on,$PRE.abc.fault_pp1.on,abc.first,$PRE.abc.first,abc.v_pos,$PRE.abc.v_pos,abc.theta_zero,$PRE.abc.theta_zero,relay2.y[3],$PRE.relay2.y[3],relay2.y[2],$PRE.relay2.y[2],relay2.y[1],$PRE.relay2.y[1],relay1.y[3],$PRE.relay1.y[3],relay1.y[2],$PRE.relay1.y[2],relay1.y[1],$PRE.relay1.y[1],breaker2.breaker_c.opening,breaker2.breaker_c.t0,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.closed,breaker2.breaker_c.open,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.arc,breaker2.breaker_b.opening,breaker2.breaker_b.t0,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.closed,breaker2.breaker_b.open,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.arc,breaker2.breaker_a.opening,breaker2.breaker_a.t0,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.closed,breaker2.breaker_a.open,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.arc,breaker1.breaker_c.opening,breaker1.breaker_c.t0,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.closed,breaker1.breaker_c.open,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.arc,breaker1.breaker_b.opening,breaker1.breaker_b.t0,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.closed,breaker1.breaker_b.open,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.arc,breaker1.breaker_a.opening,breaker1.breaker_a.t0,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.closed,breaker1.breaker_a.open,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition29) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 2 * 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 {(32,73)} Notification: Performance of prepare postOptimizeDAE: time 0.0007609/0.4502, allocations: 0.5689 MB / 0.5636 GB, free: 33.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/0.4505, allocations: 141 kB / 0.5638 GB, free: 33.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/0.454, allocations: 2.765 MB / 0.5665 GB, free: 30.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.4541, allocations: 11.97 kB / 0.5665 GB, free: 30.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4541, allocations: 0 / 0.5665 GB, free: 30.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000746/0.4548, allocations: 415.2 kB / 0.5669 GB, free: 30.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.4551, allocations: 67.97 kB / 0.5669 GB, free: 30.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009088/0.456, allocations: 127.8 kB / 0.5671 GB, free: 30.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/0.4564, allocations: 178.4 kB / 0.5672 GB, free: 29.92 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006083/0.4624, allocations: 3.603 MB / 0.5708 GB, free: 26.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004579/0.467, allocations: 4.295 MB / 0.5749 GB, free: 21.95 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001376/0.4684, allocations: 1.338 MB / 0.5763 GB, free: 20.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005227/0.469, allocations: 0.5302 MB / 0.5768 GB, free: 20.09 MB / 414.1 MB Notification: Performance of Backend: time 2.3e-07/0.469, allocations: 0 / 0.5768 GB, free: 20.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00533/0.4743, allocations: 3.057 MB / 0.5798 GB, free: 17.03 MB / 414.1 MB Notification: Performance of SimCode: time 0.004423/0.4787, allocations: 4.762 MB / 0.5844 GB, free: 12.24 MB / 414.1 MB Notification: Performance of Templates: time 0.05282/0.5316, allocations: 38.46 MB / 0.622 GB, free: 5.746 MB / 446.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.pipe 2>&1)