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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.686/1.686, allocations: 288.2 MB / 303.2 MB, free: 8.199 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.001123/0.001123, allocations: 179.3 kB / 371.8 MB, free: 10.29 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.774/1.774, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0008497/0.0008494, allocations: 98.53 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004064, allocations: 12.62 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2561, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8855/1.142, allocations: 185 MB / 1.16 GB, free: 13.46 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/1.142, allocations: 99.17 kB / 1.16 GB, free: 13.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6845/1.827, allocations: 268.9 MB / 1.423 GB, free: 9.668 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.829e-06/1.827, allocations: 0 / 1.423 GB, free: 9.668 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008882/1.828, allocations: 147.9 kB / 1.423 GB, free: 9.523 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02411/1.852, allocations: 5.142 MB / 1.428 GB, free: 4.305 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/1.852, allocations: 8.031 kB / 1.428 GB, free: 4.297 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004936/1.857, allocations: 0.7566 MB / 1.429 GB, free: 3.531 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/1.87, allocations: 1.499 MB / 1.43 GB, free: 2.023 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7155/2.586, allocations: 4.216 MB / 1.434 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005556/2.586, allocations: 380.4 kB / 1.435 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00366/2.59, allocations: 0.4971 MB / 1.435 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/2.616, allocations: 8.38 MB / 1.443 GB, free: 203.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002577/2.616, allocations: 23.16 kB / 1.443 GB, free: 203.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001475/2.617, allocations: 231.4 kB / 1.444 GB, free: 203.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004862/2.618, allocations: 331.4 kB / 1.444 GB, free: 203.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/2.635, allocations: 6.44 MB / 1.45 GB, free: 203.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06512/2.7, allocations: 40.01 MB / 1.489 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006064/2.706, allocations: 2.817 MB / 1.492 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004739/2.707, allocations: 31.25 kB / 1.492 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.416e-05/2.707, allocations: 62.91 kB / 1.492 GB, free: 180.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=265): time 6.813e-06/2.707, allocations: 0 / 1.492 GB, free: 180.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=424): time 0.2653/2.972, allocations: 64.9 MB / 1.555 GB, free: 174.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/2.972, allocations: 92.48 kB / 1.556 GB, free: 174.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005558/2.978, allocations: 1.938 MB / 1.557 GB, free: 174 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001214/2.979, allocations: 94.98 kB / 1.558 GB, free: 174 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002107/2.981, allocations: 2.338 MB / 1.56 GB, free: 172.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002845/2.984, allocations: 1.443 MB / 1.561 GB, free: 172 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/2.985, allocations: 93.7 kB / 1.561 GB, free: 172 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0005153/2.986, allocations: 480 kB / 1.562 GB, free: 171.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005445/2.991, allocations: 2.778 MB / 1.564 GB, free: 171.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00591/2.997, allocations: 3.744 MB / 1.568 GB, free: 169.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005596/3.003, allocations: 3.366 MB / 1.571 GB, free: 167.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.761e-05/3.003, allocations: 10.5 kB / 1.571 GB, free: 167.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02919/3.032, allocations: 11.78 MB / 1.583 GB, free: 163.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/3.032, allocations: 22.62 kB / 1.583 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.538e-05/3.032, allocations: 25.97 kB / 1.583 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01847/3.051, allocations: 5.006 MB / 1.588 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/3.054, allocations: 0.5042 MB / 1.588 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07663/3.13, allocations: 66.88 MB / 1.654 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/3.135, allocations: 182.9 kB / 1.654 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/3.137, allocations: 164 kB / 1.654 GB, free: 110.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006192/3.143, allocations: 2.001 MB / 1.656 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001769/3.145, allocations: 391.2 kB / 1.656 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0281/3.173, allocations: 11.55 MB / 1.668 GB, free: 98.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.901e-05/3.173, allocations: 40 kB / 1.668 GB, free: 98.92 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002361/3.173, allocations: 48 kB / 1.668 GB, free: 98.87 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001202/3.173, allocations: 21.19 kB / 1.668 GB, free: 98.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04415/3.217, allocations: 17.89 MB / 1.685 GB, free: 84.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.567e-05/3.218, allocations: 8 kB / 1.685 GB, free: 84.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/3.219, allocations: 291.1 kB / 1.685 GB, free: 84.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01566/3.235, allocations: 4.52 MB / 1.69 GB, free: 80.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/3.236, allocations: 87.39 kB / 1.69 GB, free: 80.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06476/3.301, allocations: 64.4 MB / 1.753 GB, free: 18.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/3.301, allocations: 11.94 kB / 1.753 GB, free: 18.96 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03087/3.332, allocations: 15.29 MB / 1.768 GB, free: 5.539 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003877/3.336, allocations: 0.9727 MB / 1.769 GB, free: 4.645 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001747/3.338, allocations: 78.02 kB / 1.769 GB, free: 4.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003653/3.341, allocations: 179.8 kB / 1.769 GB, free: 4.445 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002235/3.343, allocations: 402.8 kB / 1.769 GB, free: 4.191 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006614/3.344, allocations: 104 kB / 1.77 GB, free: 4.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003062/3.347, allocations: 1.466 MB / 1.771 GB, free: 2.789 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/3.347, allocations: 0 / 1.771 GB, free: 2.789 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009349/3.357, allocations: 1.751 MB / 1.773 GB, free: 1.039 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6894/4.046, allocations: 17.72 MB / 1.79 GB, free: 193.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02403/4.07, allocations: 11.64 MB / 1.801 GB, free: 190.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/4.07, allocations: 0.8125 kB / 1.801 GB, free: 190.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0164/4.087, allocations: 8.089 MB / 1.809 GB, free: 187.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006782/4.093, allocations: 0.9705 MB / 1.81 GB, free: 187.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1057/4.199, allocations: 59.94 MB / 1.869 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008759/4.208, allocations: 4.188 MB / 1.873 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003684/4.212, allocations: 0.6691 MB / 1.873 GB, free: 155 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003423/4.215, allocations: 2.139 MB / 1.876 GB, free: 155 MB / 0.9636 GB Notification: Performance of SimCode: time 1.403e-06/4.215, allocations: 0 / 1.876 GB, free: 155 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2345/4.45, allocations: 136.4 MB / 2.009 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/4.45, allocations: 229.1 kB / 2.009 GB, free: 121 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.975/10.43, allocations: 3.938 kB / 2.009 GB, free: 121 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)