Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 249.3 MB / 261.8 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 188.3 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009265/0.0009266, allocations: 83.95 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.315e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2269, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8424/1.069, allocations: 200.7 MB / 1.088 GB, free: 1.266 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/1.07, allocations: 95.38 kB / 1.088 GB, free: 1.215 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.227/1.297, allocations: 84.33 MB / 1.17 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.503e-06/1.297, allocations: 0 / 1.17 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001999/1.297, allocations: 51.86 kB / 1.17 GB, free: 1.32 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004885/1.302, allocations: 1.575 MB / 1.172 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.302, allocations: 8.031 kB / 1.172 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006953/1.303, allocations: 194.1 kB / 1.172 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/1.315, allocations: 1.878 MB / 1.174 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004573/1.319, allocations: 1.22 MB / 1.175 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/1.32, allocations: 90.36 kB / 1.175 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007664/1.32, allocations: 123.8 kB / 1.175 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005559/1.326, allocations: 2.234 MB / 1.178 GB, free: 9.695 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.043e-05/1.326, allocations: 8 kB / 1.178 GB, free: 9.688 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003494/1.326, allocations: 59.97 kB / 1.178 GB, free: 9.629 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/1.326, allocations: 86.19 kB / 1.178 GB, free: 9.543 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003708/1.33, allocations: 1.867 MB / 1.179 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01715/1.347, allocations: 10.71 MB / 1.19 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/1.35, allocations: 1.697 MB / 1.192 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/1.352, allocations: 0.9012 MB / 1.192 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.777e-05/1.352, allocations: 12.77 kB / 1.192 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/1.352, allocations: 43.34 kB / 1.193 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.086e-06/1.352, allocations: 0 / 1.193 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of matching and sorting (n=131): time 0.0349/1.387, allocations: 9.967 MB / 1.202 GB, free: 15.62 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/1.387, allocations: 218.9 kB / 1.202 GB, free: 15.36 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/1.388, allocations: 0.9562 MB / 1.203 GB, free: 14.39 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002053/1.389, allocations: 49.7 kB / 1.203 GB, free: 14.34 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/1.389, allocations: 0.7118 MB / 1.204 GB, free: 13.62 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004205/1.39, allocations: 445.4 kB / 1.205 GB, free: 13.18 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/1.39, allocations: 36 kB / 1.205 GB, free: 13.14 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.39, allocations: 353.9 kB / 1.205 GB, free: 12.79 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.391, allocations: 0.9514 MB / 1.206 GB, free: 11.84 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/1.393, allocations: 1.225 MB / 1.207 GB, free: 10.51 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/1.395, allocations: 1.055 MB / 1.208 GB, free: 9.457 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.395, allocations: 4 kB / 1.208 GB, free: 9.453 MB / 0.823 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.00859/1.403, allocations: 3.729 MB / 1.212 GB, free: 5.672 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/1.403, allocations: 9.406 kB / 1.212 GB, free: 5.664 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/1.403, allocations: 12 kB / 1.212 GB, free: 5.652 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006668/1.41, allocations: 1.603 MB / 1.213 GB, free: 4.008 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/1.412, allocations: 447.2 kB / 1.214 GB, free: 3.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02917/1.441, allocations: 24.77 MB / 1.238 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/1.445, allocations: 319.5 kB / 1.238 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/1.445, allocations: 67.91 kB / 1.238 GB, free: 8.688 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000422/1.445, allocations: 184.7 kB / 1.238 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/1.445, allocations: 166 kB / 1.239 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008789/1.454, allocations: 3.767 MB / 1.242 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/1.454, allocations: 12 kB / 1.242 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.773e-05/1.454, allocations: 16 kB / 1.242 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/1.454, allocations: 7.969 kB / 1.242 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/1.467, allocations: 6.205 MB / 1.248 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.468, allocations: 4 kB / 1.248 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/1.469, allocations: 391.3 kB / 1.249 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005971/1.475, allocations: 1.51 MB / 1.25 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/1.476, allocations: 35.97 kB / 1.25 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7056/2.181, allocations: 23.79 MB / 1.274 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/2.181, allocations: 3.672 kB / 1.274 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/2.195, allocations: 3.697 MB / 1.277 GB, free: 251 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/2.198, allocations: 476.7 kB / 1.278 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006559/2.198, allocations: 26.66 kB / 1.278 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004294/2.203, allocations: 319.8 kB / 1.278 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00083/2.204, allocations: 128.2 kB / 1.278 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002739/2.204, allocations: 50.19 kB / 1.278 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00214/2.206, allocations: 0.7393 MB / 1.279 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.21e-07/2.206, allocations: 0 / 1.279 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004388/2.21, allocations: 0.6073 MB / 1.279 GB, free: 250.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01246/2.223, allocations: 5.043 MB / 1.284 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01063/2.234, allocations: 4.329 MB / 1.289 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.63e-05/2.234, allocations: 1.125 kB / 1.289 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00718/2.241, allocations: 3.115 MB / 1.292 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004539/2.245, allocations: 0.4884 MB / 1.292 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/2.257, allocations: 3.243 MB / 1.295 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/2.259, allocations: 1.507 MB / 1.297 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003326/2.262, allocations: 426.3 kB / 1.297 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/2.264, allocations: 0.626 MB / 1.298 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.432e-06/2.264, allocations: 0 / 1.298 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08974/2.354, allocations: 51.13 MB / 1.348 GB, free: 241 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/2.354, allocations: 199.7 kB / 1.348 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.682/6.036, allocations: 0 / 1.348 GB, free: 240.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)