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.0008114/0.0008114, allocations: 90.34 kB / 16.65 MB, free: 6.535 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.001014/0.001014, allocations: 177 kB / 17.56 MB, free: 6.18 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.464/1.464, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1737/0.1737, allocations: 38.04 MB / 310.1 MB, free: 5.914 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.0004723/0.0004723, allocations: 12 kB / 377.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2716, allocations: 56.32 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.006202/0.2779, allocations: 6.971 MB / 440.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0039/0.2818, allocations: 2.381 MB / 442.8 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000799/0.2827, allocations: 35.81 kB / 442.9 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005686/0.2832, allocations: 139 kB / 443 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.2846, allocations: 0.4981 MB / 443.5 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007911/0.2855, allocations: 339.5 kB / 443.8 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.2868, allocations: 1.712 MB / 445.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.2879, allocations: 0.9191 MB / 446.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004882/0.2884, allocations: 410.1 kB / 446.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006391/0.289, allocations: 0.6347 MB / 447.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.2891, allocations: 44 kB / 447.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007107/0.2898, allocations: 0.4952 MB / 448 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.2901, allocations: 422.8 kB / 448.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003245/0.2904, allocations: 0.4913 MB / 448.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000818/0.2913, allocations: 1.296 MB / 450.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2913, allocations: 0 / 450.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2913, allocations: 0 / 450.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.2913, allocations: 0 / 450.2 MB, free: 1.832 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.001803/0.2931, allocations: 1.21 MB / 451.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2932, allocations: 11.97 kB / 451.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006937/0.2939, allocations: 155.6 kB / 451.6 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007931/0.2947, allocations: 0.6047 MB / 452.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.2947, allocations: 66.38 kB / 452.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.295, allocations: 111.9 kB / 452.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.2967, allocations: 1.318 MB / 453.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.2968, allocations: 3.984 kB / 453.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.716e-05/0.2969, allocations: 36 kB / 453.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.297, allocations: 61.97 kB / 453.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.2989, allocations: 1.175 MB / 455 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00571/0.3046, allocations: 4.676 MB / 459.7 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.306, allocations: 1.288 MB / 461 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/0.3068, allocations: 0.6368 MB / 461.6 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.014e-05/0.3068, allocations: 16.64 kB / 461.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.3079, allocations: 0.8955 MB / 462.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=122): time 2.404e-06/0.3079, allocations: 0 / 462.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=123): time 0.005109/0.313, allocations: 3.585 MB / 466.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.3132, allocations: 234.6 kB / 466.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.3137, allocations: 0.494 MB / 466.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.89e-05/0.3138, allocations: 53.69 kB / 466.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.3141, allocations: 404 kB / 467.3 MB, free: 140 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.3144, allocations: 367.2 kB / 467.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.3146, allocations: 117.6 kB / 467.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3147, allocations: 402.8 kB / 468.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.3155, allocations: 0.5147 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009177/0.3164, allocations: 0.7739 MB / 469.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.3181, allocations: 1.419 MB / 470.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3181, allocations: 3.938 kB / 470.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003625/0.3218, allocations: 2.063 MB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.529e-05/0.3219, allocations: 59.41 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002882/0.3247, allocations: 1.642 MB / 474.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/0.3266, allocations: 0.6527 MB / 475.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.327, allocations: 135.7 kB / 475.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008677/0.3357, allocations: 5.91 MB / 481.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006703/0.3364, allocations: 63.89 kB / 481.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.3366, allocations: 44 kB / 481.4 MB, free: 1.578 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.000738/0.3373, allocations: 438 kB / 481.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.3376, allocations: 79.06 kB / 481.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.3398, allocations: 1.423 MB / 483.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/0.3398, allocations: 31.92 kB / 483.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3398, allocations: 0 / 483.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3398, allocations: 11.98 kB / 483.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/0.3438, allocations: 2.771 MB / 486.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3438, allocations: 0 / 486.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009905/0.3448, allocations: 227.8 kB / 486.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.006e-05/0.3449, allocations: 7.938 kB / 486.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-05/0.3449, allocations: 23.98 kB / 486.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.345, allocations: 4 kB / 486.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.345, allocations: 4 kB / 486.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003181/0.3482, allocations: 2.281 MB / 488.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.3484, allocations: 152 kB / 488.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.3486, allocations: 35.97 kB / 488.9 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.3491, allocations: 43.95 kB / 488.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.3493, allocations: 108.8 kB / 489 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/0.3494, allocations: 32 kB / 489 MB, free: 9.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003724/0.3498, allocations: 350.8 kB / 489.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3498, allocations: 0 / 489.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009972/0.3508, allocations: 300 kB / 489.7 MB, free: 9.105 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.0002916/0.3511, allocations: 182.9 kB / 489.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002958/0.3541, allocations: 1.852 MB / 491.7 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3541, allocations: 0.75 kB / 491.7 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.3552, allocations: 0.9143 MB / 492.6 MB, free: 6.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008434/0.356, allocations: 130.6 kB / 492.8 MB, free: 5.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/0.3599, allocations: 2.714 MB / 495.5 MB, free: 3.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006854/0.3606, allocations: 1.101 MB / 496.6 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006322/0.3612, allocations: 226.9 kB / 496.8 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.3614, allocations: 67.42 kB / 496.9 MB, free: 1.793 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3615, allocations: 0 / 496.9 MB, free: 1.793 MB / 366.1 MB Notification: Performance of Templates: time 0.02094/0.3824, allocations: 12.42 MB / 0.4973 GB, free: 5.398 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe 2>&1) Environment - environmentSimulation: