Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.521/1.521, allocations: 251.9 MB / 266.8 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 187.7 kB / 326.5 MB, free: 2.223 MB / 250.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.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009285/0.0009285, allocations: 98.23 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 9.406 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2579, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005029/0.263, allocations: 4.712 MB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003494/0.2666, allocations: 2.5 MB / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.267, allocations: 19.88 kB / 0.9072 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.2673, allocations: 87.38 kB / 0.9073 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008492/0.2682, allocations: 330.9 kB / 0.9076 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008266/0.269, allocations: 310.2 kB / 0.9079 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.2696, allocations: 0.5746 MB / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009787/0.2706, allocations: 0.7436 MB / 0.9092 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.2709, allocations: 290.9 kB / 0.9095 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.2713, allocations: 302.8 kB / 0.9098 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.2713, allocations: 24 kB / 0.9098 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.2717, allocations: 151.7 kB / 0.9099 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.2718, allocations: 199.5 kB / 0.9101 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.2719, allocations: 145.3 kB / 0.9103 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.2725, allocations: 0.6937 MB / 0.9109 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.2725, allocations: 0 / 0.9109 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2725, allocations: 4 kB / 0.9109 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.2725, allocations: 0 / 0.9109 GB, free: 52.69 MB / 0.6042 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.001173/0.2737, allocations: 0.849 MB / 0.9118 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2737, allocations: 8.031 kB / 0.9118 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.2739, allocations: 98.5 kB / 0.9119 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.275, allocations: 186.9 kB / 0.9121 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.2756, allocations: 477.5 kB / 0.9125 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.2757, allocations: 33 kB / 0.9125 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.2758, allocations: 59.94 kB / 0.9126 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009632/0.2768, allocations: 0.8161 MB / 0.9134 GB, free: 50 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.2768, allocations: 11.84 kB / 0.9134 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.2769, allocations: 23.98 kB / 0.9134 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001836/0.2771, allocations: 68.94 kB / 0.9135 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/0.2778, allocations: 0.5696 MB / 0.9141 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.2812, allocations: 4.601 MB / 0.9185 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.2816, allocations: 291.3 kB / 0.9188 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.2816, allocations: 4.281 kB / 0.9188 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2816, allocations: 38.84 kB / 0.9189 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.2817, allocations: 0 / 0.9189 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004815/0.2865, allocations: 2.633 MB / 0.9214 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.2865, allocations: 55.41 kB / 0.9215 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.2869, allocations: 462 kB / 0.9219 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.2869, allocations: 29.7 kB / 0.922 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.2871, allocations: 339.7 kB / 0.9223 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.2872, allocations: 149.9 kB / 0.9224 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.2872, allocations: 15.94 kB / 0.9224 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.2873, allocations: 362.8 kB / 0.9228 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.2876, allocations: 236.9 kB / 0.923 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.2879, allocations: 404.5 kB / 0.9234 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.2883, allocations: 289.5 kB / 0.9237 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2883, allocations: 4 kB / 0.9237 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001457/0.2898, allocations: 0.9175 MB / 0.9246 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2898, allocations: 4 kB / 0.9246 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.2898, allocations: 8 kB / 0.9246 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007439/0.2906, allocations: 231 kB / 0.9248 GB, free: 37.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.2911, allocations: 111.8 kB / 0.9249 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003878/0.295, allocations: 5.009 MB / 0.9298 GB, free: 32.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.2955, allocations: 31.97 kB / 0.9298 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.2955, allocations: 20 kB / 0.9299 GB, free: 32.1 MB / 0.6042 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.0003331/0.2959, allocations: 238.1 kB / 0.9301 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.296, allocations: 59.25 kB / 0.9301 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.2972, allocations: 0.7734 MB / 0.9309 GB, free: 31.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2973, allocations: 4 kB / 0.9309 GB, free: 31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2973, allocations: 7.938 kB / 0.9309 GB, free: 31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2973, allocations: 7.938 kB / 0.9309 GB, free: 30.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.2994, allocations: 1.493 MB / 0.9324 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2994, allocations: 0 / 0.9324 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.2997, allocations: 68.17 kB / 0.9324 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006033/0.3004, allocations: 202.7 kB / 0.9326 GB, free: 29.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.3004, allocations: 20 kB / 0.9326 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003494/0.3039, allocations: 4.943 MB / 0.9375 GB, free: 23.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3039, allocations: 4.031 kB / 0.9375 GB, free: 23.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.3054, allocations: 1.209 MB / 0.9387 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.3057, allocations: 172.5 kB / 0.9388 GB, free: 22.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/0.3057, allocations: 19.94 kB / 0.9388 GB, free: 22.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.3061, allocations: 23.97 kB / 0.9389 GB, free: 22.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.3061, allocations: 35.89 kB / 0.9389 GB, free: 22.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.3062, allocations: 16 kB / 0.9389 GB, free: 22.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002821/0.3065, allocations: 314.8 kB / 0.9392 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3065, allocations: 0 / 0.9392 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006639/0.3071, allocations: 172 kB / 0.9394 GB, free: 21.71 MB / 0.6042 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.001696/0.3088, allocations: 2.244 MB / 0.9416 GB, free: 19.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.3103, allocations: 1.001 MB / 0.9425 GB, free: 18.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3103, allocations: 0 / 0.9425 GB, free: 18.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.311, allocations: 0.6799 MB / 0.9432 GB, free: 17.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007197/0.3118, allocations: 170 kB / 0.9434 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.3172, allocations: 7.303 MB / 0.9505 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.3176, allocations: 0.9611 MB / 0.9514 GB, free: 8.984 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004413/0.3181, allocations: 121 kB / 0.9516 GB, free: 8.863 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.3183, allocations: 211.4 kB / 0.9518 GB, free: 8.656 MB / 0.6042 GB Notification: Performance of SimCode: time 1.823e-06/0.3183, allocations: 0 / 0.9518 GB, free: 8.656 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.3452, allocations: 13.28 MB / 0.9647 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003481/0.3457, allocations: 243.6 kB / 0.965 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/2.572, allocations: 0 / 0.965 GB, free: 11.44 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)