Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 289.7 MB / 302.2 MB, free: 2.227 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.001163/0.001164, allocations: 185.7 kB / 371.6 MB, free: 3.398 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.703/1.703, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009225/0.0009225, allocations: 97.03 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.59e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2886, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9514/1.24, allocations: 171.8 MB / 1.148 GB, free: 21.07 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/1.24, allocations: 94.31 kB / 1.148 GB, free: 21.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.4415/1.682, allocations: 179.7 MB / 1.323 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.415e-06/1.682, allocations: 0 / 1.323 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004655/1.682, allocations: 127.9 kB / 1.323 GB, free: 1.434 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01606/1.699, allocations: 3.827 MB / 1.327 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/1.699, allocations: 12.03 kB / 1.327 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003751/1.702, allocations: 0.6779 MB / 1.328 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007515/1.71, allocations: 0.9443 MB / 1.329 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009861/1.72, allocations: 2.983 MB / 1.332 GB, free: 8.859 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004737/1.72, allocations: 353.3 kB / 1.332 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002685/1.723, allocations: 463.9 kB / 1.332 GB, free: 8.059 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02344/1.746, allocations: 7.224 MB / 1.339 GB, free: 388 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003288/1.747, allocations: 31.78 kB / 1.339 GB, free: 356 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001995/1.749, allocations: 208 kB / 1.34 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004311/1.749, allocations: 277 kB / 1.34 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/1.765, allocations: 5.087 MB / 1.345 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04725/1.812, allocations: 35.07 MB / 1.379 GB, free: 4.484 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/1.815, allocations: 2.128 MB / 1.381 GB, free: 2.242 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/1.817, allocations: 1.25 MB / 1.382 GB, free: 0.9922 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-05/1.817, allocations: 17.25 kB / 1.382 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/1.817, allocations: 47.88 kB / 1.382 GB, free: 0.9219 MB / 0.948 GB Notification: Performance of pre-optimization done (n=133): time 3.306e-06/1.817, allocations: 4 kB / 1.382 GB, free: 0.918 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.6933/2.51, allocations: 4.54 MB / 1.387 GB, free: 185.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/2.51, allocations: 65.53 kB / 1.387 GB, free: 185 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/2.514, allocations: 1.256 MB / 1.388 GB, free: 184.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002542/2.514, allocations: 46.45 kB / 1.388 GB, free: 184.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001999/2.516, allocations: 1.984 MB / 1.39 GB, free: 184 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005497/2.516, allocations: 491.9 kB / 1.391 GB, free: 183.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/2.516, allocations: 37.28 kB / 1.391 GB, free: 183.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001411/2.517, allocations: 380.1 kB / 1.391 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/2.518, allocations: 0.8793 MB / 1.392 GB, free: 183.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/2.52, allocations: 1.543 MB / 1.393 GB, free: 182.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/2.522, allocations: 1.155 MB / 1.395 GB, free: 182.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/2.522, allocations: 6.781 kB / 1.395 GB, free: 182.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007155/2.529, allocations: 3.448 MB / 1.398 GB, free: 182.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/2.529, allocations: 14.84 kB / 1.398 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-05/2.529, allocations: 22.58 kB / 1.398 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/2.532, allocations: 0.892 MB / 1.399 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/2.534, allocations: 347.2 kB / 1.399 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/2.552, allocations: 21.18 MB / 1.42 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/2.555, allocations: 99.02 kB / 1.42 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/2.555, allocations: 88.05 kB / 1.42 GB, free: 166.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004029/2.555, allocations: 227.4 kB / 1.42 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/2.556, allocations: 208.5 kB / 1.42 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005306/2.561, allocations: 2.943 MB / 1.423 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/2.561, allocations: 14.86 kB / 1.423 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/2.561, allocations: 6.781 kB / 1.423 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/2.561, allocations: 10.48 kB / 1.423 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/2.574, allocations: 7.248 MB / 1.43 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/2.574, allocations: 8.156 kB / 1.43 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/2.575, allocations: 177.3 kB / 1.431 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/2.577, allocations: 0.8262 MB / 1.431 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/2.577, allocations: 31.25 kB / 1.431 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/2.592, allocations: 20.25 MB / 1.451 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/2.592, allocations: 6.688 kB / 1.451 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00484/2.597, allocations: 3.272 MB / 1.454 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/2.598, allocations: 453.5 kB / 1.455 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/2.598, allocations: 32.06 kB / 1.455 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007988/2.599, allocations: 71.98 kB / 1.455 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003794/2.599, allocations: 125.4 kB / 1.455 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.119e-05/2.599, allocations: 39.81 kB / 1.455 GB, free: 149 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001312/2.601, allocations: 0.9481 MB / 1.456 GB, free: 148.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/2.601, allocations: 0 / 1.456 GB, free: 148.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00345/2.604, allocations: 0.8226 MB / 1.457 GB, free: 148.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004724/2.609, allocations: 5.023 MB / 1.462 GB, free: 146.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005279/2.614, allocations: 3.926 MB / 1.466 GB, free: 144.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/2.614, allocations: 0 / 1.466 GB, free: 144.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003279/2.618, allocations: 2.696 MB / 1.468 GB, free: 143.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/2.621, allocations: 0.6434 MB / 1.469 GB, free: 143.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/2.635, allocations: 6.78 MB / 1.475 GB, free: 142 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00337/2.638, allocations: 3.187 MB / 1.479 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001825/2.64, allocations: 461.3 kB / 1.479 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/2.642, allocations: 1.544 MB / 1.481 GB, free: 141.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.352e-06/2.642, allocations: 3.031 kB / 1.481 GB, free: 141.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/2.758, allocations: 59.97 MB / 1.539 GB, free: 138.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/2.758, allocations: 190.6 kB / 1.539 GB, free: 138.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.679/6.437, allocations: 0 / 1.539 GB, free: 138.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)