Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.539/2.539, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001558/0.001558, allocations: 183.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001171/0.00117, allocations: 100.2 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004916, allocations: 10.72 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.247, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.98/1.227, allocations: 192.5 MB / 1.166 GB, free: 7.188 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003843/1.227, allocations: 100.4 kB / 1.166 GB, free: 7.133 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3179/1.545, allocations: 66.67 MB / 1.231 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.498e-06/1.546, allocations: 0 / 1.231 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002745/1.546, allocations: 43.92 kB / 1.232 GB, free: 14.59 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.01213/1.558, allocations: 1.781 MB / 1.233 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 7.587e-05/1.558, allocations: 16.03 kB / 1.233 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001792/1.56, allocations: 267.8 kB / 1.234 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009298/1.569, allocations: 0.6642 MB / 1.234 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006238/1.576, allocations: 1.24 MB / 1.235 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/1.576, allocations: 120.3 kB / 1.235 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/1.577, allocations: 163.5 kB / 1.236 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/1.589, allocations: 2.653 MB / 1.238 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/1.589, allocations: 3.938 kB / 1.238 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004971/1.59, allocations: 66.44 kB / 1.238 GB, free: 8.949 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003796/1.59, allocations: 91.34 kB / 1.238 GB, free: 8.863 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/1.602, allocations: 2.22 MB / 1.241 GB, free: 6.703 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02852/1.63, allocations: 10.89 MB / 1.251 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/1.633, allocations: 0.7593 MB / 1.252 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/1.633, allocations: 93.45 kB / 1.252 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/1.633, allocations: 38.94 kB / 1.252 GB, free: 10 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=46): time 3.035e-06/1.633, allocations: 0 / 1.252 GB, free: 10 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.04935/1.682, allocations: 8.402 MB / 1.26 GB, free: 1.527 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/1.682, allocations: 81.67 kB / 1.26 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/1.686, allocations: 0.8587 MB / 1.261 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000371/1.686, allocations: 37.7 kB / 1.261 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001333/1.687, allocations: 0.7777 MB / 1.262 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007254/1.688, allocations: 244.5 kB / 1.262 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/1.689, allocations: 20 kB / 1.262 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0005621/1.689, allocations: 402.5 kB / 1.263 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003625/1.693, allocations: 0.8028 MB / 1.263 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004165/1.697, allocations: 1.16 MB / 1.265 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/1.702, allocations: 0.9947 MB / 1.266 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/1.702, allocations: 4 kB / 1.266 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.02395/1.726, allocations: 3.51 MB / 1.269 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.002567/1.728, allocations: 4.275 MB / 1.273 GB, free: 3.805 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.1e-05/1.728, allocations: 12 kB / 1.273 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02122/1.75, allocations: 1.869 MB / 1.275 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.751, allocations: 223.6 kB / 1.275 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/1.769, allocations: 7.026 MB / 1.282 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/1.771, allocations: 191.6 kB / 1.282 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/1.772, allocations: 48 kB / 1.282 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.772, allocations: 4 kB / 1.282 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01191/1.783, allocations: 2.865 MB / 1.285 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-05/1.784, allocations: 12 kB / 1.285 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008208/1.792, allocations: 1.152 MB / 1.286 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/1.794, allocations: 291.5 kB / 1.286 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/1.809, allocations: 5.847 MB / 1.292 GB, free: 15.97 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/1.811, allocations: 163.7 kB / 1.292 GB, free: 15.81 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/1.812, allocations: 47.98 kB / 1.292 GB, free: 15.76 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002126/1.814, allocations: 0.8958 MB / 1.293 GB, free: 14.86 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/1.814, allocations: 86.97 kB / 1.293 GB, free: 14.77 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.828, allocations: 3.113 MB / 1.296 GB, free: 11.64 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/1.828, allocations: 8 kB / 1.296 GB, free: 11.63 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/1.828, allocations: 4 kB / 1.296 GB, free: 11.63 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.068e-05/1.828, allocations: 7.938 kB / 1.296 GB, free: 11.62 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/1.848, allocations: 5.165 MB / 1.301 GB, free: 6.367 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.848, allocations: 3.938 kB / 1.301 GB, free: 6.363 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/1.849, allocations: 111.8 kB / 1.302 GB, free: 6.254 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0122/1.861, allocations: 1.787 MB / 1.303 GB, free: 4.461 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/1.861, allocations: 12 kB / 1.303 GB, free: 4.449 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02531/1.887, allocations: 9.989 MB / 1.313 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.887, allocations: 4 kB / 1.313 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/1.901, allocations: 3.11 MB / 1.316 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/1.902, allocations: 328 kB / 1.316 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/1.902, allocations: 20 kB / 1.316 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/1.904, allocations: 147.8 kB / 1.317 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004672/1.905, allocations: 60.44 kB / 1.317 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/1.905, allocations: 20 kB / 1.317 GB, free: 6.395 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001619/1.906, allocations: 0.6707 MB / 1.317 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.387e-06/1.906, allocations: 0 / 1.317 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003521/1.91, allocations: 0.7069 MB / 1.318 GB, free: 5.023 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01472/1.925, allocations: 4.287 MB / 1.322 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.937, allocations: 3.602 MB / 1.326 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.937, allocations: 3.938 kB / 1.326 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004044/1.941, allocations: 1.348 MB / 1.327 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.943, allocations: 236 kB / 1.327 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03803/1.981, allocations: 18.3 MB / 1.345 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/1.983, allocations: 1.75 MB / 1.347 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002506/1.986, allocations: 0.5147 MB / 1.347 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/1.987, allocations: 0.5149 MB / 1.348 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of SimCode: time 3.517e-06/1.987, allocations: 0 / 1.348 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/2.098, allocations: 40.14 MB / 1.387 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003825/2.098, allocations: 245.6 kB / 1.387 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.499/5.598, allocations: 0 / 1.387 GB, free: 13.86 MB / 0.9167 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)