Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.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.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 115.5 kB / 17.69 MB, free: 5.426 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.001086/0.001086, allocations: 192 kB / 18.63 MB, free: 4.492 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.422/1.422, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1827/0.1827, allocations: 37.98 MB / 309.8 MB, free: 5.973 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.001474/0.001474, allocations: 59.91 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2347, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.006316/0.2411, allocations: 6.583 MB / 438.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.2441, allocations: 2.147 MB / 440.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.2444, allocations: 27.88 kB / 440.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.2458, allocations: 0.6325 MB / 441.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.2469, allocations: 0.5483 MB / 442 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.2476, allocations: 375.2 kB / 442.3 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007627/0.2484, allocations: 1.213 MB / 443.5 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/0.2489, allocations: 0.5795 MB / 444.1 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.2493, allocations: 0.5059 MB / 444.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.2499, allocations: 0.662 MB / 445.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.25, allocations: 92 kB / 445.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005818/0.2506, allocations: 0.5071 MB / 445.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.2509, allocations: 482.8 kB / 446.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003687/0.2513, allocations: 0.5249 MB / 446.9 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008932/0.2522, allocations: 1.39 MB / 448.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2522, allocations: 3.938 kB / 448.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2522, allocations: 0 / 448.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2522, allocations: 0 / 448.3 MB, free: 3.191 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001974/0.2542, allocations: 1.374 MB / 449.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2543, allocations: 19.77 kB / 449.7 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007152/0.255, allocations: 151.6 kB / 449.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.256, allocations: 0.6396 MB / 450.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.2561, allocations: 74.36 kB / 450.5 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.2563, allocations: 96.11 kB / 450.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.258, allocations: 1.311 MB / 451.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.258, allocations: 4 kB / 451.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.661e-05/0.2581, allocations: 32 kB / 452 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000152/0.2583, allocations: 69.95 kB / 452 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.2602, allocations: 1.179 MB / 453.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006194/0.2664, allocations: 4.629 MB / 457.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.2679, allocations: 1.296 MB / 459.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008242/0.2687, allocations: 0.6329 MB / 459.8 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-05/0.2688, allocations: 24.62 kB / 459.8 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/0.27, allocations: 0.8869 MB / 460.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=122): time 2.725e-06/0.27, allocations: 0 / 460.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=123): time 0.005054/0.275, allocations: 3.577 MB / 464.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.2752, allocations: 238.6 kB / 464.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.2757, allocations: 0.494 MB / 465 MB, free: 1.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.2758, allocations: 57.94 kB / 465 MB, free: 1.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.2762, allocations: 404 kB / 465.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.2765, allocations: 366.9 kB / 465.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.2768, allocations: 218.9 kB / 466 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.277, allocations: 398.7 kB / 466.4 MB, free: 384 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007658/0.2777, allocations: 0.5147 MB / 466.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009286/0.2787, allocations: 0.7817 MB / 467.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.2804, allocations: 1.407 MB / 469.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.2804, allocations: 7.938 kB / 469.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003574/0.284, allocations: 2.055 MB / 471.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/0.284, allocations: 67.89 kB / 471.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002839/0.2869, allocations: 1.64 MB / 472.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.2888, allocations: 0.6565 MB / 473.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.2894, allocations: 139.7 kB / 473.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009205/0.2986, allocations: 6.473 MB / 480.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008109/0.2994, allocations: 67.88 kB / 480.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.2995, allocations: 48.16 kB / 480.3 MB, free: 2.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 67 (system.initime,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,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],switch2.switch_c.closed,switch2.switch_c.open,$PRE.switch2.switch_c.open,switch2.switch_c.arc,$PRE.switch2.switch_c.arc,switch2.switch_b.closed,switch2.switch_b.open,$PRE.switch2.switch_b.open,switch2.switch_b.arc,$PRE.switch2.switch_b.arc,switch2.switch_a.closed,switch2.switch_a.open,$PRE.switch2.switch_a.open,switch2.switch_a.arc,$PRE.switch2.switch_a.arc,switch1.switch_c.closed,switch1.switch_c.open,$PRE.switch1.switch_c.open,switch1.switch_c.arc,$PRE.switch1.switch_c.arc,switch1.switch_b.closed,switch1.switch_b.open,$PRE.switch1.switch_b.open,switch1.switch_b.arc,$PRE.switch1.switch_b.arc,switch1.switch_a.closed,switch1.switch_a.open,$PRE.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * Array equations: 2 * 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): 1 system {(7,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007271/0.3003, allocations: 426 kB / 480.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.3005, allocations: 79.06 kB / 480.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.3026, allocations: 1.431 MB / 482.2 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/0.3027, allocations: 24.08 kB / 482.2 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3027, allocations: 4 kB / 482.2 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.3027, allocations: 15.84 kB / 482.2 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004028/0.3067, allocations: 2.763 MB / 485 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.3067, allocations: 4 kB / 485 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.3078, allocations: 223.8 kB / 485.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.3078, allocations: 4 kB / 485.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/0.3079, allocations: 27.98 kB / 485.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-06/0.3079, allocations: 4 kB / 485.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3079, allocations: 3.984 kB / 485.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.311, allocations: 2.29 MB / 487.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.3112, allocations: 148.2 kB / 487.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.3113, allocations: 24 kB / 487.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.3117, allocations: 51.88 kB / 487.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.312, allocations: 108.8 kB / 487.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.28e-05/0.3121, allocations: 35.98 kB / 487.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003874/0.3125, allocations: 346.8 kB / 488.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.045e-06/0.3125, allocations: 0 / 488.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000972/0.3135, allocations: 311.9 kB / 488.5 MB, free: 9.645 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 47 (switch1.switch_c.closed,switch1.switch_a.closed,switch1.switch_b.closed,switch2.switch_b.closed,switch2.switch_c.closed,switch2.switch_a.closed,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,switch1.switch_a.arc,switch1.switch_a.open,switch1.switch_b.arc,switch1.switch_b.open,switch1.switch_c.arc,switch1.switch_c.open,switch2.switch_a.arc,switch2.switch_a.open,switch2.switch_b.arc,switch2.switch_b.open,switch2.switch_c.arc,switch2.switch_c.open,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,system.initime) * Number of discrete states: 16 (relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,switch2.switch_a.open,switch2.switch_c.open,switch2.switch_b.open,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch1.switch_b.open,switch1.switch_a.open,switch1.switch_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 88 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002686/0.3137, allocations: 163 kB / 488.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003346/0.3171, allocations: 1.872 MB / 490.6 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3171, allocations: 4.125 kB / 490.6 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.3183, allocations: 0.9025 MB / 491.5 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007716/0.3191, allocations: 130.4 kB / 491.6 MB, free: 6.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.323, allocations: 2.261 MB / 493.9 MB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008141/0.3239, allocations: 1.104 MB / 495 MB, free: 3.082 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005433/0.3244, allocations: 226.9 kB / 495.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.3247, allocations: 71.42 kB / 495.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3247, allocations: 0 / 495.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of Templates: time 0.02412/0.3488, allocations: 13.62 MB / 0.4969 GB, free: 5.191 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe 2>&1)