Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.892/2.892, allocations: 287.3 MB / 302.3 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001628/0.001628, allocations: 181 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.4 MB / 0.6295 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 105.8 kB / 0.7428 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005079, allocations: 16.77 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2343, allocations: 115.3 MB / 0.9782 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006949/0.2413, allocations: 4.7 MB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005454/0.2468, allocations: 2.5 MB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006112/0.2474, allocations: 19.88 kB / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.2478, allocations: 87.31 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.2491, allocations: 331 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.2503, allocations: 304.3 kB / 0.9859 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.2517, allocations: 0.5824 MB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.2534, allocations: 0.7377 MB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006378/0.254, allocations: 286.9 kB / 0.9875 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000648/0.2547, allocations: 294.9 kB / 0.9878 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.2548, allocations: 24 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005723/0.2554, allocations: 155.7 kB / 0.988 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.2557, allocations: 207.4 kB / 0.9882 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.2559, allocations: 145.4 kB / 0.9883 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.2569, allocations: 0.6976 MB / 0.989 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2569, allocations: 3.938 kB / 0.989 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2569, allocations: 0 / 0.989 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.257, allocations: 0 / 0.989 GB, free: 17.24 MB / 0.6198 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.001944/0.2589, allocations: 0.847 MB / 0.9898 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.259, allocations: 8.031 kB / 0.9898 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.2609, allocations: 182.9 kB / 0.99 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.2621, allocations: 477.5 kB / 0.9904 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.2621, allocations: 44.91 kB / 0.9905 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/0.2624, allocations: 63.84 kB / 0.9905 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.2641, allocations: 0.82 MB / 0.9913 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.2642, allocations: 0 / 0.9913 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-05/0.2643, allocations: 27.98 kB / 0.9914 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003072/0.2646, allocations: 64.95 kB / 0.9914 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.266, allocations: 0.5735 MB / 0.992 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/0.2718, allocations: 4.593 MB / 0.9965 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006846/0.2725, allocations: 287.3 kB / 0.9968 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/0.2726, allocations: 4.281 kB / 0.9968 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.2726, allocations: 38.84 kB / 0.9968 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.186e-06/0.2726, allocations: 0 / 0.9968 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.008414/0.2811, allocations: 2.631 MB / 0.9994 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.2812, allocations: 55.41 kB / 0.9994 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000671/0.2818, allocations: 458 kB / 0.9999 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.564e-05/0.2819, allocations: 33.7 kB / 0.9999 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.2822, allocations: 347.6 kB / 1 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.2823, allocations: 142 kB / 1 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.2824, allocations: 8 kB / 1 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2825, allocations: 366.8 kB / 1.001 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.283, allocations: 237 kB / 1.001 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000601/0.2837, allocations: 402.5 kB / 1.001 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.2843, allocations: 289.7 kB / 1.002 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.2843, allocations: 7.938 kB / 1.002 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00252/0.2869, allocations: 0.9138 MB / 1.002 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.2869, allocations: 12.09 kB / 1.003 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.287, allocations: 8 kB / 1.003 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.2882, allocations: 226.4 kB / 1.003 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009476/0.2892, allocations: 115.8 kB / 1.003 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007356/0.2966, allocations: 5.013 MB / 1.008 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008238/0.2975, allocations: 27.97 kB / 1.008 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/0.2976, allocations: 24 kB / 1.008 GB, free: 12.76 MB / 0.6355 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.0004824/0.2981, allocations: 225.7 kB / 1.008 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.2982, allocations: 55.34 kB / 1.008 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.3008, allocations: 0.7779 MB / 1.009 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.3008, allocations: 4 kB / 1.009 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3009, allocations: 384 / 1.009 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.3009, allocations: 11.94 kB / 1.009 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/0.3051, allocations: 1.495 MB / 1.01 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.3052, allocations: 4 kB / 1.01 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007093/0.3059, allocations: 75.81 kB / 1.01 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.3071, allocations: 202.6 kB / 1.011 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/0.3072, allocations: 8 kB / 1.011 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007462/0.3147, allocations: 4.951 MB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.3147, allocations: 4 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/0.3179, allocations: 1.213 MB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/0.3183, allocations: 172.3 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3185, allocations: 15.94 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005704/0.319, allocations: 27.97 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.3192, allocations: 35.89 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/0.3193, allocations: 16.06 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005437/0.3198, allocations: 310.9 kB / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.134e-06/0.3199, allocations: 0 / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001005/0.3209, allocations: 167.9 kB / 1.017 GB, free: 2.387 MB / 0.6355 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.0002347/0.3211, allocations: 118.1 kB / 1.017 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002598/0.3237, allocations: 1 MB / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.3238, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.3253, allocations: 0.676 MB / 1.019 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.3266, allocations: 171.6 kB / 1.019 GB, free: 348 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.3298, allocations: 1.504 MB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/0.3306, allocations: 0.9533 MB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007184/0.3313, allocations: 117 kB / 1.022 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.3315, allocations: 43.44 kB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.3315, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of Templates: time 0.02814/0.3597, allocations: 8.141 MB / 1.03 GB, free: 5.609 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)