Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.935/1.935, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005787/0.0005788, allocations: 19.44 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3029, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02761/0.3306, allocations: 23.26 MB / 0.8099 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01538/0.346, allocations: 7.783 MB / 0.8175 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00341/0.3495, allocations: 91.44 kB / 0.8176 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.3519, allocations: 0.5085 MB / 0.8181 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006059/0.358, allocations: 1.184 MB / 0.8193 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.3627, allocations: 1.009 MB / 0.8203 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006943/0.3697, allocations: 2.999 MB / 0.8232 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01755/0.3873, allocations: 8.167 MB / 0.8312 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004927/0.3923, allocations: 1.643 MB / 0.8328 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004509/0.3968, allocations: 1.67 MB / 0.8344 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.3983, allocations: 212 kB / 0.8346 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.4017, allocations: 0.5033 MB / 0.8351 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003758/0.4055, allocations: 1.524 MB / 0.8366 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002831/0.4084, allocations: 0.8005 MB / 0.8374 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.4193, allocations: 6.514 MB / 0.8437 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4194, allocations: 0 / 0.8437 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.278e-06/0.4194, allocations: 0 / 0.8437 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003182/0.4197, allocations: 4 kB / 0.8437 GB, free: 1.777 MB / 0.6544 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.01169/0.4314, allocations: 3.425 MB / 0.8471 GB, free: 14.29 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.4315, allocations: 15.97 kB / 0.8471 GB, free: 14.27 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001952/0.4335, allocations: 0.5341 MB / 0.8476 GB, free: 13.73 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004515/0.438, allocations: 0.7719 MB / 0.8484 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006387/0.4444, allocations: 2.358 MB / 0.8507 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/0.4448, allocations: 287.1 kB / 0.851 GB, free: 10.26 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.4466, allocations: 367.9 kB / 0.8513 GB, free: 9.898 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/0.459, allocations: 5.937 MB / 0.8571 GB, free: 3.707 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/0.4592, allocations: 19.78 kB / 0.8571 GB, free: 3.688 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004676/0.4597, allocations: 156 kB / 0.8573 GB, free: 3.535 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006873/0.4604, allocations: 290.9 kB / 0.8575 GB, free: 3.25 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009634/0.47, allocations: 4.489 MB / 0.8619 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03582/0.5059, allocations: 27.69 MB / 0.889 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.5079, allocations: 1.115 MB / 0.8901 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.593e-05/0.508, allocations: 20.95 kB / 0.8901 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.419e-05/0.508, allocations: 47.5 kB / 0.8901 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.537e-06/0.5081, allocations: 0 / 0.8901 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of matching and sorting (n=131): time 0.02279/0.5309, allocations: 9.653 MB / 0.8996 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.531, allocations: 64.72 kB / 0.8996 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/0.534, allocations: 1.475 MB / 0.9011 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002421/0.5343, allocations: 53.7 kB / 0.9011 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.5356, allocations: 1.667 MB / 0.9027 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005808/0.5362, allocations: 473.2 kB / 0.9032 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.5363, allocations: 40 kB / 0.9032 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002775/0.5366, allocations: 377.9 kB / 0.9036 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.5381, allocations: 0.9096 MB / 0.9045 GB, free: 408 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.54, allocations: 1.455 MB / 0.9059 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.5417, allocations: 1.142 MB / 0.907 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.5417, allocations: 4 kB / 0.907 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006098/0.5478, allocations: 3.259 MB / 0.9102 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.5478, allocations: 24.23 kB / 0.9102 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.5479, allocations: 16 kB / 0.9102 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/0.5501, allocations: 0.7451 MB / 0.911 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.5517, allocations: 383.3 kB / 0.9113 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.609/1.161, allocations: 16.02 MB / 0.927 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/1.163, allocations: 104.7 kB / 0.9271 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/1.163, allocations: 75.86 kB / 0.9271 GB, free: 115.8 MB / 0.7325 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.002586/1.166, allocations: 1.314 MB / 0.9284 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006016/1.167, allocations: 199.2 kB / 0.9286 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/1.172, allocations: 2.782 MB / 0.9313 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/1.172, allocations: 18.86 kB / 0.9313 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.172, allocations: 5.75 kB / 0.9314 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/1.172, allocations: 7.25 kB / 0.9314 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/1.182, allocations: 6.211 MB / 0.9374 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.182, allocations: 9.25 kB / 0.9374 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.183, allocations: 235.5 kB / 0.9377 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/1.185, allocations: 0.663 MB / 0.9383 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/1.185, allocations: 35.03 kB / 0.9383 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/1.199, allocations: 15.77 MB / 0.9537 GB, free: 98.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/1.199, allocations: 14.48 kB / 0.9538 GB, free: 98.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006465/1.206, allocations: 4.326 MB / 0.958 GB, free: 96.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.207, allocations: 463.4 kB / 0.9584 GB, free: 96.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/1.207, allocations: 36.77 kB / 0.9585 GB, free: 96.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009089/1.208, allocations: 80.11 kB / 0.9585 GB, free: 96.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003479/1.208, allocations: 115 kB / 0.9586 GB, free: 96.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.249e-05/1.208, allocations: 39.45 kB / 0.9587 GB, free: 96.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001456/1.21, allocations: 0.9795 MB / 0.9596 GB, free: 95.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.21, allocations: 2.438 kB / 0.9596 GB, free: 95.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002731/1.213, allocations: 0.6884 MB / 0.9603 GB, free: 95.85 MB / 0.7325 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.006501/1.219, allocations: 6.282 MB / 0.9664 GB, free: 91.65 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005028/1.224, allocations: 3.494 MB / 0.9699 GB, free: 89.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.224, allocations: 1.375 kB / 0.9699 GB, free: 89.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003236/1.228, allocations: 2.29 MB / 0.9721 GB, free: 88.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/1.231, allocations: 0.5964 MB / 0.9727 GB, free: 88.03 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/1.261, allocations: 29.29 MB / 1.001 GB, free: 64.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/1.263, allocations: 2.73 MB / 1.004 GB, free: 62.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001546/1.265, allocations: 485.4 kB / 1.004 GB, free: 61.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.266, allocations: 1.289 MB / 1.006 GB, free: 60.63 MB / 0.7325 GB Notification: Performance of SimCode: time 1.272e-06/1.266, allocations: 0 / 1.006 GB, free: 60.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07602/1.342, allocations: 54.63 MB / 1.059 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/1.342, allocations: 226.3 kB / 1.059 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.751/5.093, allocations: 0 / 1.059 GB, free: 6.492 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: