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_RLC_N.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_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.684/1.684, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.001741/0.001741, allocations: 186.2 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.666/1.666, 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.001059/0.001059, allocations: 97.12 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004429/0.000443, allocations: 16.78 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2546, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03189/0.2866, allocations: 35.67 MB / 1.014 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02451/0.3111, allocations: 14.52 MB / 1.029 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005137/0.3163, allocations: 151 kB / 1.029 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003834/0.3202, allocations: 0.8384 MB / 1.029 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009777/0.33, allocations: 2.103 MB / 1.032 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008198/0.3383, allocations: 1.929 MB / 1.033 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01276/0.3511, allocations: 5.694 MB / 1.039 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02472/0.3758, allocations: 13.96 MB / 1.053 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008201/0.3841, allocations: 3.134 MB / 1.056 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008253/0.3924, allocations: 3.305 MB / 1.059 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00259/0.3951, allocations: 396 kB / 1.059 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004098/0.3992, allocations: 0.7688 MB / 1.06 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005069/0.4043, allocations: 2.717 MB / 1.063 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004043/0.4083, allocations: 1.385 MB / 1.064 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5204/0.9287, allocations: 11.59 MB / 1.075 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9288, allocations: 0 / 1.075 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9288, allocations: 0 / 1.075 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000516/0.9293, allocations: 0 / 1.075 GB, free: 27.88 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02338/0.9527, allocations: 6.179 MB / 1.081 GB, free: 25.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.9528, allocations: 9.422 kB / 1.081 GB, free: 25.36 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006246/0.959, allocations: 0.9009 MB / 1.082 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.9726, allocations: 1.505 MB / 1.084 GB, free: 24.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.013/0.9857, allocations: 4.099 MB / 1.088 GB, free: 24.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005729/0.9863, allocations: 456.5 kB / 1.088 GB, free: 24.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003583/0.9899, allocations: 0.597 MB / 1.089 GB, free: 24.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0349/1.025, allocations: 10.59 MB / 1.099 GB, free: 23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003348/1.025, allocations: 25.11 kB / 1.099 GB, free: 23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001892/1.027, allocations: 264.6 kB / 1.099 GB, free: 23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003035/1.03, allocations: 0.7764 MB / 1.1 GB, free: 22.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/1.051, allocations: 8.515 MB / 1.108 GB, free: 22.61 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07682/1.128, allocations: 46.96 MB / 1.154 GB, free: 3.746 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007344/1.135, allocations: 4.308 MB / 1.159 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005462/1.136, allocations: 35 kB / 1.159 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.904e-05/1.136, allocations: 73.72 kB / 1.159 GB, free: 1.332 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 6.663e-06/1.136, allocations: 0 / 1.159 GB, free: 1.332 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 0.5751/1.711, allocations: 127.9 MB / 1.284 GB, free: 6.805 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.711, allocations: 111.9 kB / 1.284 GB, free: 6.68 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/1.715, allocations: 2.654 MB / 1.286 GB, free: 4.027 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001481/1.717, allocations: 125.7 kB / 1.286 GB, free: 3.898 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002035/1.719, allocations: 2.681 MB / 1.289 GB, free: 1.195 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003271/1.722, allocations: 1.954 MB / 1.291 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004771/1.723, allocations: 108 kB / 1.291 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003424/1.723, allocations: 0.5326 MB / 1.291 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006434/1.73, allocations: 4.052 MB / 1.295 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008145/1.738, allocations: 4.969 MB / 1.3 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008324/1.746, allocations: 4.819 MB / 1.305 GB, free: 452 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.658e-05/1.746, allocations: 8 kB / 1.305 GB, free: 444 kB / 0.8386 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04108/1.787, allocations: 16.92 MB / 1.322 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/1.787, allocations: 16 kB / 1.322 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.943e-05/1.787, allocations: 26.41 kB / 1.322 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03232/1.82, allocations: 9.054 MB / 1.33 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/1.823, allocations: 0.5194 MB / 1.331 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1073/1.93, allocations: 73.69 MB / 1.403 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006153/1.936, allocations: 287.8 kB / 1.403 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.937, allocations: 188 kB / 1.403 GB, free: 10.69 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006112/1.944, allocations: 2.42 MB / 1.406 GB, free: 8.289 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.945, allocations: 474.5 kB / 1.406 GB, free: 7.82 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03949/1.984, allocations: 16.76 MB / 1.423 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.903e-05/1.984, allocations: 58.62 kB / 1.423 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002332/1.985, allocations: 71.98 kB / 1.423 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001409/1.985, allocations: 31.89 kB / 1.423 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5808/2.566, allocations: 25.61 MB / 1.448 GB, free: 338.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.142e-05/2.566, allocations: 6.656 kB / 1.448 GB, free: 338.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/2.568, allocations: 324 kB / 1.448 GB, free: 338.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02984/2.598, allocations: 8.257 MB / 1.456 GB, free: 337 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001547/2.599, allocations: 105 kB / 1.456 GB, free: 337 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1114/2.711, allocations: 70.53 MB / 1.525 GB, free: 288.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/2.711, allocations: 11.94 kB / 1.525 GB, free: 288.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04286/2.754, allocations: 22.18 MB / 1.547 GB, free: 266.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005081/2.759, allocations: 1.366 MB / 1.548 GB, free: 264.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002469/2.761, allocations: 108 kB / 1.548 GB, free: 264.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005148/2.767, allocations: 291.6 kB / 1.548 GB, free: 264.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002345/2.769, allocations: 0.5255 MB / 1.549 GB, free: 263.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005845/2.769, allocations: 140 kB / 1.549 GB, free: 263.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002719/2.772, allocations: 1.749 MB / 1.551 GB, free: 262 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.2e-07/2.772, allocations: 0 / 1.551 GB, free: 262 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01426/2.787, allocations: 2.438 MB / 1.553 GB, free: 259.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0443/2.831, allocations: 24.6 MB / 1.577 GB, free: 234.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0269/2.858, allocations: 14.49 MB / 1.591 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/2.858, allocations: 8.312 kB / 1.591 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01829/2.876, allocations: 9.36 MB / 1.6 GB, free: 210.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007497/2.884, allocations: 1.187 MB / 1.602 GB, free: 209.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1148/2.999, allocations: 70.82 MB / 1.671 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00663/3.005, allocations: 5.014 MB / 1.676 GB, free: 131.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003516/3.009, allocations: 0.741 MB / 1.676 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003285/3.012, allocations: 2.604 MB / 1.679 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of SimCode: time 1.874e-06/3.012, allocations: 0 / 1.679 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7385/3.751, allocations: 185.8 MB / 1.86 GB, free: 310.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/3.751, allocations: 237.3 kB / 1.861 GB, free: 310.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/11.5, allocations: 0 / 1.861 GB, free: 310.1 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)