Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.1-maint.8.0.x/package.mo): time 1.403/1.403, allocations: 288.4 MB / 303.6 MB, free: 8.195 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.0009043/0.0009043, allocations: 184.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.152/1.152, allocations: 205.4 MB / 0.631 GB, free: 9.863 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.0007168/0.0007168, allocations: 101.5 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 12.53 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1889, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01893/0.2079, allocations: 24.21 MB / 1.004 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0116/0.2195, allocations: 7.735 MB / 1.011 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.2217, allocations: 103.4 kB / 1.011 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.2233, allocations: 0.5076 MB / 1.012 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.2271, allocations: 1.368 MB / 1.013 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.2306, allocations: 1.064 MB / 1.014 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007767/0.2384, allocations: 6.944 MB / 1.021 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01374/0.2522, allocations: 9.033 MB / 1.03 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.2563, allocations: 1.871 MB / 1.032 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004533/0.2608, allocations: 2.402 MB / 1.034 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001141/0.262, allocations: 212 kB / 1.034 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.2653, allocations: 1.146 MB / 1.035 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002858/0.2682, allocations: 1.664 MB / 1.037 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00376/0.272, allocations: 1.888 MB / 1.039 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006656/0.2787, allocations: 6.643 MB / 1.045 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2787, allocations: 0 / 1.045 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2787, allocations: 0 / 1.045 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002169/0.2789, allocations: 0 / 1.045 GB, free: 8.191 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007743/0.2867, allocations: 3.428 MB / 1.049 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.2867, allocations: 8.031 kB / 1.049 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001349/0.2881, allocations: 0.5343 MB / 1.049 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/0.2924, allocations: 0.8039 MB / 1.05 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.2967, allocations: 2.428 MB / 1.052 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.2969, allocations: 275.6 kB / 1.053 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007783/0.2977, allocations: 372.4 kB / 1.053 GB, free: 228 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.3112, allocations: 5.965 MB / 1.059 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.955e-05/0.3113, allocations: 11.94 kB / 1.059 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00042/0.3117, allocations: 160 kB / 1.059 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006092/0.3124, allocations: 286.9 kB / 1.059 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007542/0.3199, allocations: 4.492 MB / 1.064 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4181/0.7381, allocations: 27.7 MB / 1.091 GB, free: 61.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.7402, allocations: 1.113 MB / 1.092 GB, free: 60.87 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.7417, allocations: 1.017 MB / 1.093 GB, free: 60.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-05/0.7418, allocations: 11.62 kB / 1.093 GB, free: 60.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.7418, allocations: 49.66 kB / 1.093 GB, free: 60.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 3.286e-06/0.7418, allocations: 0 / 1.093 GB, free: 60.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.02293/0.7647, allocations: 9.659 MB / 1.102 GB, free: 56.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.7648, allocations: 69.98 kB / 1.102 GB, free: 56.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.7671, allocations: 1.478 MB / 1.104 GB, free: 55.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001597/0.7672, allocations: 51.27 kB / 1.104 GB, free: 55.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.7684, allocations: 1.672 MB / 1.106 GB, free: 54.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.7688, allocations: 466.9 kB / 1.106 GB, free: 53.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.7689, allocations: 35.19 kB / 1.106 GB, free: 53.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.769, allocations: 379 kB / 1.106 GB, free: 53.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.7704, allocations: 0.908 MB / 1.107 GB, free: 53.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.772, allocations: 1.459 MB / 1.109 GB, free: 52.15 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003094/0.7751, allocations: 2.531 MB / 1.111 GB, free: 50.56 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.7751, allocations: 5.219 kB / 1.111 GB, free: 50.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005474/0.7806, allocations: 3.28 MB / 1.114 GB, free: 49.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.7807, allocations: 15.47 kB / 1.114 GB, free: 49.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.7807, allocations: 22.42 kB / 1.114 GB, free: 49.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/0.7827, allocations: 0.7342 MB / 1.115 GB, free: 48.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.7841, allocations: 389.5 kB / 1.115 GB, free: 48.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.7959, allocations: 15.76 MB / 1.131 GB, free: 34.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.7978, allocations: 102.9 kB / 1.131 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.798, allocations: 80.75 kB / 1.131 GB, free: 34.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002329/0.8003, allocations: 1.307 MB / 1.132 GB, free: 33.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004401/0.8008, allocations: 198.9 kB / 1.133 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004863/0.8057, allocations: 2.784 MB / 1.135 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.8057, allocations: 13.34 kB / 1.135 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.8057, allocations: 6.344 kB / 1.135 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.8057, allocations: 9.281 kB / 1.135 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009798/0.8155, allocations: 6.213 MB / 1.141 GB, free: 27.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.8156, allocations: 9.656 kB / 1.141 GB, free: 27.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.8167, allocations: 232.1 kB / 1.142 GB, free: 27.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.8185, allocations: 0.6697 MB / 1.142 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.8187, allocations: 33.66 kB / 1.142 GB, free: 27.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/0.8296, allocations: 15.51 MB / 1.157 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.8296, allocations: 9.656 kB / 1.157 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/0.835, allocations: 3.997 MB / 1.161 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000919/0.8359, allocations: 460.5 kB / 1.162 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.8361, allocations: 33.27 kB / 1.162 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/0.837, allocations: 85.67 kB / 1.162 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/0.8373, allocations: 122.5 kB / 1.162 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/0.8374, allocations: 36.75 kB / 1.162 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001162/0.8386, allocations: 0.9782 MB / 1.163 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8386, allocations: 0 / 1.163 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002384/0.841, allocations: 0.6844 MB / 1.164 GB, free: 9.512 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004919/0.8459, allocations: 4.601 MB / 1.168 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004144/0.8501, allocations: 3.486 MB / 1.172 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.8501, allocations: 0 / 1.172 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002692/0.8528, allocations: 2.29 MB / 1.174 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/0.8566, allocations: 0.608 MB / 1.174 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02758/0.8842, allocations: 17.76 MB / 1.192 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/0.8867, allocations: 2.674 MB / 1.194 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001535/0.8883, allocations: 485.4 kB / 1.195 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/0.8896, allocations: 1.284 MB / 1.196 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.8897, allocations: 4 kB / 1.196 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.14/8.03, allocations: 55.07 MB / 1.25 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003431/8.03, allocations: 240.6 kB / 1.25 GB, free: 384 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.489/13.52, allocations: 0 / 1.25 GB, free: 384 kB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)