Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.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.DoubleLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 114.3 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.001438/0.001438, allocations: 189.3 kB / 18.68 MB, free: 4.406 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.459/1.459, allocations: 205.1 MB / 224.6 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1758/0.1758, allocations: 37.98 MB / 309.9 MB, free: 5.957 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.001499/0.001499, allocations: 63.91 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09879, allocations: 55.24 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleLine): time 0.0119/0.1107, allocations: 10.44 MB / 498.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007213/0.118, allocations: 4.129 MB / 0.4906 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009995/0.119, allocations: 39.81 kB / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003345/0.1224, allocations: 1.253 MB / 0.4919 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.1259, allocations: 1.233 MB / 0.4931 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.1281, allocations: 0.9162 MB / 0.494 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003613/0.1318, allocations: 2.764 MB / 0.4967 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.1336, allocations: 1.071 MB / 0.4977 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.1359, allocations: 1.218 MB / 0.4989 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002904/0.1389, allocations: 1.64 MB / 0.5005 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006456/0.1395, allocations: 196 kB / 0.5007 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.1415, allocations: 0.7568 MB / 0.5014 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.143, allocations: 1.095 MB / 0.5025 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002128/0.1451, allocations: 1.135 MB / 0.5036 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003868/0.149, allocations: 2.968 MB / 0.5065 GB, free: 9.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.149, allocations: 0 / 0.5065 GB, free: 9.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1491, allocations: 0 / 0.5065 GB, free: 9.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001031/0.1492, allocations: 7.938 kB / 0.5065 GB, free: 9.344 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.006001/0.1552, allocations: 2.548 MB / 0.509 GB, free: 6.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1552, allocations: 11.89 kB / 0.509 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/0.1577, allocations: 405.9 kB / 0.5094 GB, free: 6.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.1605, allocations: 1.277 MB / 0.5106 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.1607, allocations: 126.9 kB / 0.5108 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009086/0.1616, allocations: 347.6 kB / 0.5111 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004386/0.166, allocations: 2.906 MB / 0.5139 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.166, allocations: 7.938 kB / 0.5139 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.1662, allocations: 67.92 kB / 0.514 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001166/0.1674, allocations: 243.1 kB / 0.5142 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003995/0.1714, allocations: 2.492 MB / 0.5167 GB, free: 14.68 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.1865, allocations: 10.71 MB / 0.5271 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/0.19, allocations: 2.575 MB / 0.5296 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2046/0.3946, allocations: 1.527 MB / 0.5311 GB, free: 50.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.3948, allocations: 24.91 kB / 0.5311 GB, free: 50.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002769/0.3976, allocations: 1.87 MB / 0.533 GB, free: 50.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=243): time 5.36e-06/0.3976, allocations: 0 / 0.533 GB, free: 50.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=246): time 0.01346/0.4111, allocations: 8.412 MB / 0.5412 GB, free: 47.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.4112, allocations: 276.2 kB / 0.5415 GB, free: 47.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.4125, allocations: 1.007 MB / 0.5424 GB, free: 46.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.4127, allocations: 78.38 kB / 0.5425 GB, free: 46.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/0.4132, allocations: 0.7631 MB / 0.5433 GB, free: 45.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005863/0.4138, allocations: 0.8345 MB / 0.5441 GB, free: 45.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007066/0.4145, allocations: 499.2 kB / 0.5445 GB, free: 45.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.706e-05/0.4146, allocations: 304.7 kB / 0.5448 GB, free: 44.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/0.4167, allocations: 1.444 MB / 0.5462 GB, free: 44.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.4192, allocations: 2.027 MB / 0.5482 GB, free: 43.29 MB / 414.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01933/0.4386, allocations: 9.327 MB / 0.5573 GB, free: 39.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/0.4386, allocations: 4 kB / 0.5573 GB, free: 39.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01279/0.4514, allocations: 6.949 MB / 0.5641 GB, free: 33.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.509e-05/0.4515, allocations: 63.41 kB / 0.5642 GB, free: 33.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01134/0.4629, allocations: 6.083 MB / 0.5701 GB, free: 26.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009302/0.4722, allocations: 4.206 MB / 0.5742 GB, free: 22.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.4733, allocations: 259.5 kB / 0.5745 GB, free: 22.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0377/0.511, allocations: 27.37 MB / 0.6012 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.5128, allocations: 143.9 kB / 0.6013 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.5131, allocations: 108 kB / 0.6015 GB, free: 10.74 MB / 430.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: infBus1.V = 2e4 * infBus1.v0 InfBus2.V = 4e5 * InfBus2.v0 lineF.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 86 (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,trafo.tap_2_internal,trafo.tap_1_internal,$PRE.switch1.switch_a.open,$PRE.switch1.switch_b.open,$PRE.switch1.switch_c.open,$PRE.switch2.switch_a.open,$PRE.switch2.switch_b.open,$PRE.switch2.switch_c.open,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],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,switch2.switch_c.closed,switch2.switch_c.open,switch2.switch_c.arc,$PRE.switch2.switch_c.arc,switch2.switch_b.closed,switch2.switch_b.open,switch2.switch_b.arc,$PRE.switch2.switch_b.arc,switch2.switch_a.closed,switch2.switch_a.open,switch2.switch_a.arc,$PRE.switch2.switch_a.arc,switch1.switch_c.closed,switch1.switch_c.open,switch1.switch_c.arc,$PRE.switch1.switch_c.arc,switch1.switch_b.closed,switch1.switch_b.open,switch1.switch_b.arc,$PRE.switch1.switch_b.arc,switch1.switch_a.closed,switch1.switch_a.open,switch1.switch_a.arc,$PRE.switch1.switch_a.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 198 * 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 {(56,103)} Notification: Performance of prepare postOptimizeDAE: time 0.001211/0.5143, allocations: 0.7073 MB / 0.6021 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/0.5147, allocations: 177.9 kB / 0.6023 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005283/0.5199, allocations: 3.302 MB / 0.6055 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.52, allocations: 9.406 kB / 0.6055 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.52, allocations: 0 / 0.6055 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.5211, allocations: 0.491 MB / 0.606 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/0.5214, allocations: 87.91 kB / 0.6061 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5225, allocations: 111.8 kB / 0.6062 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004155/0.5229, allocations: 173.8 kB / 0.6064 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01027/0.5332, allocations: 4.703 MB / 0.611 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007327/0.5405, allocations: 5.397 MB / 0.6162 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002302/0.5428, allocations: 1.667 MB / 0.6179 GB, free: 9.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001024/0.5439, allocations: 0.6627 MB / 0.6185 GB, free: 9.152 MB / 446.1 MB Notification: Performance of Backend: time 3.3e-07/0.5439, allocations: 4 kB / 0.6185 GB, free: 9.148 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009507/0.5534, allocations: 4.353 MB / 0.6228 GB, free: 4.766 MB / 446.1 MB Notification: Performance of SimCode: time 0.01032/0.5637, allocations: 6.836 MB / 0.6294 GB, free: 13.87 MB / 462.1 MB Notification: Performance of Templates: time 0.08136/0.6451, allocations: 52.65 MB / 0.6809 GB, free: 9.164 MB / 0.4981 GB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.pipe 2>&1)