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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.629/2.629, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001347/0.001347, allocations: 180.7 kB / 371 MB, free: 10.85 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.143/2.143, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009193/0.0009189, allocations: 99.84 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006803/0.0006804, allocations: 14.75 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2453, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007128/0.2525, allocations: 4.891 MB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00528/0.2579, allocations: 2.512 MB / 0.9857 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006553/0.2586, allocations: 19.81 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004246/0.259, allocations: 103.1 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.2604, allocations: 330.2 kB / 0.9861 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.2617, allocations: 303.3 kB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001466/0.2631, allocations: 1.045 MB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.2648, allocations: 0.737 MB / 0.9881 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007275/0.2656, allocations: 318.6 kB / 0.9884 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009536/0.2666, allocations: 370.6 kB / 0.9888 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.2668, allocations: 24 kB / 0.9888 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007883/0.2676, allocations: 187.7 kB / 0.989 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003103/0.2679, allocations: 223.4 kB / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.2682, allocations: 145.4 kB / 0.9894 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.2693, allocations: 0.7248 MB / 0.9901 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.2694, allocations: 4 kB / 0.9901 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2694, allocations: 0 / 0.9901 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.2694, allocations: 0 / 0.9901 GB, free: 16.3 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.001968/0.2714, allocations: 0.8589 MB / 0.9909 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.2714, allocations: 16.02 kB / 0.9909 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.2716, allocations: 98.5 kB / 0.991 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.2738, allocations: 191 kB / 0.9912 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.2749, allocations: 477.4 kB / 0.9917 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.275, allocations: 36.98 kB / 0.9917 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.2752, allocations: 59.94 kB / 0.9917 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.2768, allocations: 0.8238 MB / 0.9926 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/0.2769, allocations: 4 kB / 0.9926 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.347e-05/0.277, allocations: 23.98 kB / 0.9926 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003198/0.2773, allocations: 76.88 kB / 0.9927 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.2786, allocations: 0.5619 MB / 0.9932 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005999/0.2847, allocations: 4.593 MB / 0.9977 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007077/0.2854, allocations: 287.3 kB / 0.998 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.2859, allocations: 233.2 kB / 0.9982 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-05/0.286, allocations: 8.219 kB / 0.9982 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.286, allocations: 46.8 kB / 0.9982 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.427e-06/0.286, allocations: 0 / 0.9982 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.008527/0.2946, allocations: 2.622 MB / 1.001 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.2946, allocations: 59.41 kB / 1.001 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/0.2953, allocations: 454 kB / 1.001 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/0.2953, allocations: 33.7 kB / 1.001 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.2956, allocations: 347.6 kB / 1.002 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.2957, allocations: 145.9 kB / 1.002 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.2958, allocations: 12 kB / 1.002 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2959, allocations: 362.8 kB / 1.002 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/0.2965, allocations: 233 kB / 1.002 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006111/0.2971, allocations: 410.4 kB / 1.003 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000637/0.2978, allocations: 293.7 kB / 1.003 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.2978, allocations: 4 kB / 1.003 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003281/0.3011, allocations: 0.9137 MB / 1.004 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.3011, allocations: 9.562 kB / 1.004 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.3012, allocations: 8 kB / 1.004 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.3026, allocations: 230.6 kB / 1.004 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009432/0.3036, allocations: 119.8 kB / 1.004 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007556/0.3112, allocations: 4.931 MB / 1.009 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008444/0.3121, allocations: 31.97 kB / 1.009 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/0.3122, allocations: 24 kB / 1.009 GB, free: 11.53 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.0004738/0.3127, allocations: 222.9 kB / 1.009 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.3128, allocations: 59.3 kB / 1.009 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/0.3154, allocations: 0.7741 MB / 1.01 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.3154, allocations: 4.141 kB / 1.01 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.3154, allocations: 3.953 kB / 1.01 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.3155, allocations: 11.97 kB / 1.01 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004133/0.3196, allocations: 1.491 MB / 1.012 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.3197, allocations: 4 kB / 1.012 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/0.3204, allocations: 67.88 kB / 1.012 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.3216, allocations: 206.6 kB / 1.012 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/0.3217, allocations: 11.95 kB / 1.012 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007341/0.329, allocations: 4.868 MB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3291, allocations: 3.938 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003114/0.3322, allocations: 1.131 MB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.3327, allocations: 176.4 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.3328, allocations: 15.94 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/0.3334, allocations: 27.91 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.3335, allocations: 31.97 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.3336, allocations: 19.92 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005408/0.3341, allocations: 306.9 kB / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3342, allocations: 0 / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009946/0.3352, allocations: 176 kB / 1.019 GB, free: 1.359 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.00344/0.3386, allocations: 1.68 MB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002645/0.3413, allocations: 0.9966 MB / 1.021 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3414, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.343, allocations: 0.6798 MB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.3446, allocations: 170.2 kB / 1.022 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009518/0.3541, allocations: 3.865 MB / 1.026 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/0.3549, allocations: 0.9456 MB / 1.027 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007081/0.3557, allocations: 120.9 kB / 1.027 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.3561, allocations: 207.4 kB / 1.027 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of SimCode: time 1.282e-06/0.3561, allocations: 0 / 1.027 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06441/0.4206, allocations: 13.32 MB / 1.04 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003697/0.421, allocations: 223.1 kB / 1.04 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/3.469, allocations: 0 / 1.04 GB, free: 11.16 MB / 0.6667 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)