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.676/1.676, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.00103/0.001029, allocations: 183 kB / 371.8 MB, free: 10.28 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.643/1.643, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009254/0.0009254, allocations: 111.7 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004438, allocations: 15.59 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.263, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02091/0.284, allocations: 23.26 MB / 1.002 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01339/0.2975, allocations: 7.767 MB / 1.01 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002789/0.3003, allocations: 95.38 kB / 1.01 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.3021, allocations: 0.5007 MB / 1.01 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005058/0.3072, allocations: 1.188 MB / 1.012 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.3111, allocations: 1.015 MB / 1.013 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0066/0.3177, allocations: 2.999 MB / 1.015 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0133/0.3311, allocations: 8.155 MB / 1.023 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.335, allocations: 1.639 MB / 1.025 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003423/0.3384, allocations: 1.678 MB / 1.027 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0008346/0.3393, allocations: 208 kB / 1.027 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.3415, allocations: 0.4994 MB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001877/0.3434, allocations: 1.532 MB / 1.029 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.3449, allocations: 0.8005 MB / 1.03 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007675/0.3526, allocations: 6.51 MB / 1.036 GB, free: 1.539 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3526, allocations: 4 kB / 1.036 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3526, allocations: 0 / 1.036 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002755/0.3529, allocations: 0 / 1.036 GB, free: 1.535 MB / 0.6511 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.008827/0.3618, allocations: 3.433 MB / 1.039 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.3618, allocations: 12.03 kB / 1.039 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001863/0.3637, allocations: 0.5459 MB / 1.04 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004332/0.3681, allocations: 0.7719 MB / 1.041 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005749/0.3738, allocations: 2.358 MB / 1.043 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.3741, allocations: 271.1 kB / 1.043 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001084/0.3752, allocations: 375.9 kB / 1.044 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.3872, allocations: 5.937 MB / 1.049 GB, free: 3.461 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.3874, allocations: 19.77 kB / 1.049 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004174/0.3878, allocations: 156 kB / 1.05 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006112/0.3884, allocations: 278.9 kB / 1.05 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009933/0.3984, allocations: 4.5 MB / 1.054 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5353/0.9338, allocations: 27.68 MB / 1.081 GB, free: 68.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.9358, allocations: 1.112 MB / 1.082 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.701e-05/0.9359, allocations: 16.42 kB / 1.082 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.936, allocations: 48.97 kB / 1.082 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 4.008e-06/0.936, allocations: 0 / 1.082 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.02391/0.9599, allocations: 9.664 MB / 1.092 GB, free: 63.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.96, allocations: 65.69 kB / 1.092 GB, free: 63.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.9626, allocations: 1.48 MB / 1.093 GB, free: 62.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.9628, allocations: 47.27 kB / 1.093 GB, free: 62.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.9639, allocations: 1.673 MB / 1.095 GB, free: 61.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004234/0.9643, allocations: 470.7 kB / 1.095 GB, free: 61.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-05/0.9644, allocations: 35.72 kB / 1.095 GB, free: 61.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9645, allocations: 378.8 kB / 1.096 GB, free: 60.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.966, allocations: 0.9073 MB / 1.097 GB, free: 60.62 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.9678, allocations: 1.45 MB / 1.098 GB, free: 59.58 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.9694, allocations: 1.149 MB / 1.099 GB, free: 59.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.9695, allocations: 4.844 kB / 1.099 GB, free: 59.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006236/0.9757, allocations: 3.277 MB / 1.102 GB, free: 57.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.9758, allocations: 12 kB / 1.102 GB, free: 57.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.252e-05/0.9758, allocations: 17.69 kB / 1.102 GB, free: 57.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/0.9783, allocations: 0.7345 MB / 1.103 GB, free: 57.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.9802, allocations: 384.3 kB / 1.104 GB, free: 57.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.9931, allocations: 16.04 MB / 1.119 GB, free: 43.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.9952, allocations: 106.9 kB / 1.119 GB, free: 43.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.9954, allocations: 74.97 kB / 1.119 GB, free: 43.62 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.002554/0.9979, allocations: 1.311 MB / 1.121 GB, free: 42.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005253/0.9985, allocations: 200.1 kB / 1.121 GB, free: 42.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005237/1.004, allocations: 2.776 MB / 1.124 GB, free: 41.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/1.004, allocations: 12.75 kB / 1.124 GB, free: 41.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.004, allocations: 6.906 kB / 1.124 GB, free: 41.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/1.004, allocations: 7.969 kB / 1.124 GB, free: 41.02 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/1.015, allocations: 6.218 MB / 1.13 GB, free: 37.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/1.015, allocations: 4.969 kB / 1.13 GB, free: 37.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.017, allocations: 234.1 kB / 1.13 GB, free: 37.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002031/1.019, allocations: 0.6666 MB / 1.131 GB, free: 36.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/1.019, allocations: 32.45 kB / 1.131 GB, free: 36.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/1.032, allocations: 15.78 MB / 1.146 GB, free: 22.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.628e-05/1.032, allocations: 9.625 kB / 1.146 GB, free: 22.17 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006291/1.038, allocations: 4.334 MB / 1.15 GB, free: 19.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.04, allocations: 459.5 kB / 1.151 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/1.04, allocations: 34.95 kB / 1.151 GB, free: 18.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/1.041, allocations: 85.14 kB / 1.151 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/1.041, allocations: 115.7 kB / 1.151 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.561e-05/1.042, allocations: 41.94 kB / 1.151 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001432/1.043, allocations: 0.9816 MB / 1.152 GB, free: 18.28 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/1.043, allocations: 0 / 1.152 GB, free: 18.28 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002959/1.046, allocations: 0.6882 MB / 1.153 GB, free: 18.22 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.006325/1.052, allocations: 6.279 MB / 1.159 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005054/1.057, allocations: 3.484 MB / 1.162 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.057, allocations: 8.312 kB / 1.162 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002895/1.06, allocations: 2.281 MB / 1.164 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/1.064, allocations: 0.5959 MB / 1.165 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04029/1.104, allocations: 29.28 MB / 1.194 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003459/1.107, allocations: 2.733 MB / 1.196 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001835/1.109, allocations: 485.4 kB / 1.197 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.111, allocations: 1.288 MB / 1.198 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/1.111, allocations: 0 / 1.198 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09643/1.207, allocations: 54.63 MB / 1.251 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/1.208, allocations: 252 kB / 1.252 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.573/4.781, allocations: 0 / 1.252 GB, free: 13.52 MB / 0.7761 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)