Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.457/1.457, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.3 MB / 0.5489 GB, free: 13.53 MB / 462.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.001526/0.001526, allocations: 66.77 kB / 0.6715 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2154, allocations: 114.5 MB / 0.7834 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007214/0.2227, allocations: 5.512 MB / 0.7887 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004556/0.2273, allocations: 2.662 MB / 0.7913 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004696/0.2278, allocations: 23.81 kB / 0.7914 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.2296, allocations: 0.6796 MB / 0.792 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009785/0.2306, allocations: 405.7 kB / 0.7924 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2317, allocations: 411 kB / 0.7928 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.2329, allocations: 0.963 MB / 0.7938 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007595/0.2337, allocations: 466.8 kB / 0.7942 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005995/0.2343, allocations: 366.6 kB / 0.7946 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.2348, allocations: 402.4 kB / 0.7949 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.299e-05/0.2349, allocations: 48 kB / 0.795 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008759/0.2358, allocations: 367.2 kB / 0.7953 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.2361, allocations: 251.2 kB / 0.7956 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.2365, allocations: 354.2 kB / 0.7959 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.2377, allocations: 0.9617 MB / 0.7968 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2377, allocations: 0 / 0.7968 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2377, allocations: 0 / 0.7968 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.2377, allocations: 0 / 0.7968 GB, free: 15.72 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00154/0.2392, allocations: 0.9775 MB / 0.7978 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.2393, allocations: 12.03 kB / 0.7978 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.2407, allocations: 191.9 kB / 0.798 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.2415, allocations: 0.4905 MB / 0.7985 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.2415, allocations: 49.3 kB / 0.7985 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.2417, allocations: 52.56 kB / 0.7986 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.2428, allocations: 0.8286 MB / 0.7994 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.2428, allocations: 3.938 kB / 0.7994 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.2429, allocations: 27.98 kB / 0.7994 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/0.2431, allocations: 64.94 kB / 0.7995 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000822/0.2439, allocations: 0.5697 MB / 0.8 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004586/0.2485, allocations: 4.585 MB / 0.8045 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005455/0.2491, allocations: 295.2 kB / 0.8048 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.2494, allocations: 225.3 kB / 0.805 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.2495, allocations: 8.281 kB / 0.805 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.2495, allocations: 34.84 kB / 0.805 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 3.306e-06/0.2495, allocations: 4 kB / 0.805 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005836/0.2554, allocations: 2.635 MB / 0.8076 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.2554, allocations: 55.41 kB / 0.8077 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.256, allocations: 466 kB / 0.8081 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.256, allocations: 29.7 kB / 0.8081 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.2563, allocations: 351.6 kB / 0.8085 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.2564, allocations: 138 kB / 0.8086 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.2566, allocations: 102.2 kB / 0.8087 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002979/0.2569, allocations: 370.8 kB / 0.8091 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.2572, allocations: 233 kB / 0.8093 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.2578, allocations: 413.4 kB / 0.8097 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008402/0.2586, allocations: 0.674 MB / 0.8103 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2587, allocations: 0 / 0.8103 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001708/0.2604, allocations: 0.9212 MB / 0.8112 GB, free: 100 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.2604, allocations: 11.98 kB / 0.8113 GB, free: 88 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.2604, allocations: 4 kB / 0.8113 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007989/0.2612, allocations: 226.6 kB / 0.8115 GB, free: 15.85 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.2618, allocations: 111.9 kB / 0.8116 GB, free: 15.74 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005159/0.2669, allocations: 5.351 MB / 0.8168 GB, free: 9.973 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.2675, allocations: 31.95 kB / 0.8168 GB, free: 9.941 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.2676, allocations: 24 kB / 0.8169 GB, free: 9.918 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003437/0.2679, allocations: 224.5 kB / 0.8171 GB, free: 9.691 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.268, allocations: 63.27 kB / 0.8171 GB, free: 9.629 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.2696, allocations: 0.7668 MB / 0.8179 GB, free: 8.848 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.2696, allocations: 7.984 kB / 0.8179 GB, free: 8.84 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2696, allocations: 8 kB / 0.8179 GB, free: 8.832 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2696, allocations: 0 / 0.8179 GB, free: 8.832 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.272, allocations: 1.502 MB / 0.8194 GB, free: 7.242 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.2721, allocations: 7.938 kB / 0.8194 GB, free: 7.234 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.2725, allocations: 71.88 kB / 0.8194 GB, free: 7.164 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007008/0.2732, allocations: 202.5 kB / 0.8196 GB, free: 6.957 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.2732, allocations: 8 kB / 0.8196 GB, free: 6.949 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004861/0.2781, allocations: 5.278 MB / 0.8248 GB, free: 1.242 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2781, allocations: 4 kB / 0.8248 GB, free: 1.238 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.2799, allocations: 1.146 MB / 0.8259 GB, free: 44 kB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.2802, allocations: 164.4 kB / 0.8261 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/0.2803, allocations: 23.92 kB / 0.8261 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.2806, allocations: 23.97 kB / 0.8261 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.2808, allocations: 31.89 kB / 0.8261 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.2808, allocations: 16 kB / 0.8262 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003521/0.2812, allocations: 314.9 kB / 0.8265 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2812, allocations: 4.062 kB / 0.8265 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006869/0.2819, allocations: 164 kB / 0.8266 GB, free: 15.3 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001767/0.282, allocations: 124.2 kB / 0.8267 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.2838, allocations: 1.051 MB / 0.8278 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.2838, allocations: 3.938 kB / 0.8278 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009983/0.2848, allocations: 0.6838 MB / 0.8284 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009364/0.2857, allocations: 195 kB / 0.8286 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.2878, allocations: 1.266 MB / 0.8299 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.2884, allocations: 0.9494 MB / 0.8308 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003884/0.2888, allocations: 117 kB / 0.8309 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.84e-05/0.2889, allocations: 35.44 kB / 0.8309 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.2889, allocations: 0 / 0.8309 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.01549/0.3044, allocations: 8.852 MB / 0.8396 GB, free: 1.992 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)