Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.602/1.602, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009038/0.0009039, allocations: 180.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007464/0.0007464, allocations: 95.47 kB / 0.7808 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 8 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5997/0.6, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.7857, allocations: 165.8 MB / 1.188 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.7861, allocations: 104.7 kB / 1.188 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2195/1.006, allocations: 95.02 MB / 1.281 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.124e-06/1.006, allocations: 0 / 1.281 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001515/1.006, allocations: 39.98 kB / 1.281 GB, free: 12.47 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.0039/1.01, allocations: 1.65 MB / 1.283 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.01, allocations: 8.031 kB / 1.283 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/1.014, allocations: 0.629 MB / 1.283 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/1.016, allocations: 0.9121 MB / 1.284 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.895e-05/1.016, allocations: 98.91 kB / 1.284 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003678/1.017, allocations: 128.3 kB / 1.285 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003786/1.02, allocations: 2.331 MB / 1.287 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.054e-05/1.021, allocations: 23.97 kB / 1.287 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/1.021, allocations: 63.92 kB / 1.287 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/1.021, allocations: 142.3 kB / 1.287 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003141/1.024, allocations: 1.859 MB / 1.289 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/1.036, allocations: 12.51 MB / 1.301 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/1.04, allocations: 1.866 MB / 1.303 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/1.041, allocations: 0.6049 MB / 1.303 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/1.041, allocations: 102.1 kB / 1.304 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/1.041, allocations: 43.56 kB / 1.304 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=103): time 2.685e-06/1.041, allocations: 0 / 1.304 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110): time 0.005934/1.047, allocations: 3.694 MB / 1.307 GB, free: 256 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/1.047, allocations: 68.34 kB / 1.307 GB, free: 176 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/1.048, allocations: 0.9126 MB / 1.308 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/1.048, allocations: 49.64 kB / 1.308 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/1.049, allocations: 0.7044 MB / 1.309 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/1.049, allocations: 382.6 kB / 1.309 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/1.049, allocations: 32 kB / 1.309 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.049, allocations: 365.9 kB / 1.31 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008373/1.05, allocations: 0.5934 MB / 1.31 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/1.051, allocations: 1.055 MB / 1.311 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/1.054, allocations: 1.751 MB / 1.313 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/1.054, allocations: 8 kB / 1.313 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003309/1.057, allocations: 2.034 MB / 1.315 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/1.057, allocations: 12.06 kB / 1.315 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/1.057, allocations: 16 kB / 1.315 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008203/1.058, allocations: 258.5 kB / 1.315 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.059, allocations: 355.4 kB / 1.316 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007487/1.066, allocations: 10.75 MB / 1.326 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/1.068, allocations: 123.8 kB / 1.326 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/1.068, allocations: 71.92 kB / 1.326 GB, free: 11.19 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (179): * Single equations (assignments): 171 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007756/1.069, allocations: 401.3 kB / 1.327 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002627/1.069, allocations: 134.4 kB / 1.327 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/1.072, allocations: 1.668 MB / 1.328 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.072, allocations: 12 kB / 1.328 GB, free: 8.941 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/1.072, allocations: 4 kB / 1.328 GB, free: 8.938 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/1.072, allocations: 7.984 kB / 1.328 GB, free: 8.93 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005241/1.077, allocations: 3.287 MB / 1.332 GB, free: 5.496 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.077, allocations: 11.92 kB / 1.332 GB, free: 5.484 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008008/1.078, allocations: 219.7 kB / 1.332 GB, free: 5.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006558/1.078, allocations: 243.3 kB / 1.332 GB, free: 5.008 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/1.079, allocations: 27.94 kB / 1.332 GB, free: 4.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007441/1.086, allocations: 10.75 MB / 1.343 GB, free: 9.172 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/1.086, allocations: 4 kB / 1.343 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/1.089, allocations: 1.792 MB / 1.344 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006829/1.09, allocations: 327.3 kB / 1.345 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/1.09, allocations: 27.98 kB / 1.345 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007939/1.091, allocations: 87.88 kB / 1.345 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/1.091, allocations: 96.7 kB / 1.345 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/1.091, allocations: 36 kB / 1.345 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008828/1.092, allocations: 0.6138 MB / 1.346 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.01e-07/1.092, allocations: 0 / 1.346 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001514/1.093, allocations: 408 kB / 1.346 GB, free: 5.664 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002642/1.094, allocations: 146.2 kB / 1.346 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003392/1.097, allocations: 2.468 MB / 1.348 GB, free: 2.949 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.097, allocations: 0 / 1.348 GB, free: 2.949 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/1.099, allocations: 1.633 MB / 1.35 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/1.101, allocations: 324.5 kB / 1.35 GB, free: 0.9023 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/1.106, allocations: 3.237 MB / 1.354 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000943/1.107, allocations: 1.335 MB / 1.355 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001071/1.108, allocations: 349.7 kB / 1.355 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/1.108, allocations: 99.41 kB / 1.355 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of SimCode: time 4.91e-07/1.108, allocations: 0 / 1.355 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of Templates: time 0.02762/1.136, allocations: 15.95 MB / 1.371 GB, free: 12.06 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)