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.0009037/0.0009037, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001034/0.001034, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.748/1.748, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005086/0.0005085, allocations: 13.03 kB / 0.6736 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2478, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00558/0.2534, allocations: 4.705 MB / 0.7917 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00448/0.258, allocations: 2.496 MB / 0.7942 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004526/0.2584, allocations: 23.81 kB / 0.7942 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.2588, allocations: 87.38 kB / 0.7943 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009807/0.2598, allocations: 334.9 kB / 0.7946 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.2613, allocations: 311.2 kB / 0.7949 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.2631, allocations: 0.5824 MB / 0.7954 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.2645, allocations: 0.7356 MB / 0.7962 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006422/0.2652, allocations: 283 kB / 0.7964 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/0.2659, allocations: 306.8 kB / 0.7967 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.2661, allocations: 24 kB / 0.7967 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005517/0.2666, allocations: 151.8 kB / 0.7969 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.2669, allocations: 199.4 kB / 0.7971 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.2671, allocations: 149.3 kB / 0.7972 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009373/0.2681, allocations: 0.6937 MB / 0.7979 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2681, allocations: 0 / 0.7979 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2681, allocations: 4 kB / 0.7979 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.199e-05/0.2681, allocations: 0 / 0.7979 GB, free: 0.8477 MB / 0.6075 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.001583/0.2697, allocations: 0.853 MB / 0.7987 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2698, allocations: 8.031 kB / 0.7987 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.271, allocations: 179 kB / 0.7989 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008238/0.2719, allocations: 485.5 kB / 0.7994 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.2719, allocations: 37 kB / 0.7994 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.2721, allocations: 55.89 kB / 0.7995 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.2732, allocations: 0.8243 MB / 0.8003 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.2732, allocations: 4 kB / 0.8003 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.2733, allocations: 19.94 kB / 0.8003 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/0.2735, allocations: 68.95 kB / 0.8004 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009029/0.2744, allocations: 0.5658 MB / 0.8009 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/0.2787, allocations: 4.589 MB / 0.8054 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.2792, allocations: 291.3 kB / 0.8057 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.2792, allocations: 12.2 kB / 0.8057 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2792, allocations: 38.84 kB / 0.8057 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 3.156e-06/0.2792, allocations: 3.984 kB / 0.8057 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005397/0.2846, allocations: 2.624 MB / 0.8083 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.2847, allocations: 55.41 kB / 0.8083 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/0.2852, allocations: 462 kB / 0.8088 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.2853, allocations: 33.7 kB / 0.8088 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.2855, allocations: 339.7 kB / 0.8091 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.2856, allocations: 145.9 kB / 0.8093 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.2856, allocations: 16 kB / 0.8093 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.2859, allocations: 362.8 kB / 0.8096 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.2862, allocations: 233 kB / 0.8099 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.2866, allocations: 406.4 kB / 0.8102 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.287, allocations: 297.4 kB / 0.8105 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.287, allocations: 4 kB / 0.8105 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001531/0.2886, allocations: 0.9211 MB / 0.8114 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2886, allocations: 4 kB / 0.8114 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2886, allocations: 8 kB / 0.8114 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007418/0.2894, allocations: 223 kB / 0.8117 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.2899, allocations: 115.8 kB / 0.8118 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00463/0.2945, allocations: 5.013 MB / 0.8167 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.295, allocations: 31.97 kB / 0.8167 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.2951, allocations: 20 kB / 0.8167 GB, free: 12.37 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003419/0.2954, allocations: 226 kB / 0.8169 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.2955, allocations: 59.41 kB / 0.817 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.297, allocations: 0.7664 MB / 0.8177 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.297, allocations: 11.98 kB / 0.8177 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.297, allocations: 8 kB / 0.8178 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2971, allocations: 0 / 0.8178 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.2995, allocations: 1.494 MB / 0.8192 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2996, allocations: 0 / 0.8192 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.2999, allocations: 75.88 kB / 0.8193 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006554/0.3006, allocations: 198.6 kB / 0.8195 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.3007, allocations: 12.19 kB / 0.8195 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004428/0.3051, allocations: 4.962 MB / 0.8243 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3051, allocations: 4.031 kB / 0.8243 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.3067, allocations: 1.205 MB / 0.8255 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.307, allocations: 172.3 kB / 0.8257 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.3071, allocations: 20 kB / 0.8257 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.3074, allocations: 27.97 kB / 0.8257 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.3075, allocations: 39.83 kB / 0.8258 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.3075, allocations: 16 kB / 0.8258 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003044/0.3078, allocations: 302.9 kB / 0.8261 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3078, allocations: 0 / 0.8261 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006569/0.3085, allocations: 172 kB / 0.8262 GB, free: 1.992 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/0.3086, allocations: 123 kB / 0.8263 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.3101, allocations: 1.001 MB / 0.8273 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3101, allocations: 4.125 kB / 0.8273 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000883/0.311, allocations: 0.672 MB / 0.828 GB, free: 112 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007465/0.3118, allocations: 156.5 kB / 0.8281 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.3138, allocations: 1.5 MB / 0.8296 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.3143, allocations: 0.965 MB / 0.8305 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000339/0.3147, allocations: 113 kB / 0.8306 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.151e-05/0.3148, allocations: 39.44 kB / 0.8307 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.3148, allocations: 0 / 0.8307 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.01322/0.328, allocations: 8.155 MB / 0.8387 GB, free: 5.219 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: