Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 101.5 kB / 16.29 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 180.8 kB / 17.22 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.906/1.906, allocations: 292.3 MB / 0.5495 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.91 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2526, allocations: 114.6 MB / 0.7841 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.4916/0.7443, allocations: 37.25 MB / 0.8205 GB, free: 27.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02536/0.7697, allocations: 13.59 MB / 0.8337 GB, free: 18.49 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005571/0.7753, allocations: 113.3 kB / 0.8338 GB, free: 18.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00629/0.7817, allocations: 2.279 MB / 0.8361 GB, free: 17.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.7867, allocations: 1.404 MB / 0.8374 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0105/0.7972, allocations: 3.512 MB / 0.8409 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.808, allocations: 6.383 MB / 0.8471 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01896/0.827, allocations: 10.04 MB / 0.8569 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007871/0.8349, allocations: 2.737 MB / 0.8596 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008839/0.8438, allocations: 3.192 MB / 0.8627 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003624/0.8475, allocations: 0.6197 MB / 0.8633 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005589/0.8531, allocations: 1.229 MB / 0.8645 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005369/0.8585, allocations: 2.473 MB / 0.8669 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00662/0.8651, allocations: 2.55 MB / 0.8694 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.878, allocations: 9.14 MB / 0.8783 GB, free: 10.56 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.8781, allocations: 3.984 kB / 0.8783 GB, free: 10.55 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.225e-06/0.8781, allocations: 4 kB / 0.8783 GB, free: 10.55 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003009/0.8784, allocations: 0 / 0.8783 GB, free: 10.55 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01481/0.8932, allocations: 4.299 MB / 0.8825 GB, free: 6.184 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.8933, allocations: 8.031 kB / 0.8825 GB, free: 6.176 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004308/0.8976, allocations: 0.9404 MB / 0.8834 GB, free: 5.227 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005038/0.9027, allocations: 2.191 MB / 0.8856 GB, free: 2.992 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.903, allocations: 325 kB / 0.8859 GB, free: 2.672 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.9043, allocations: 420.4 kB / 0.8863 GB, free: 2.262 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0164/0.9207, allocations: 7.358 MB / 0.8935 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.9209, allocations: 31.77 kB / 0.8935 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005579/0.9214, allocations: 180 kB / 0.8937 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003358/0.9218, allocations: 290.9 kB / 0.894 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.9335, allocations: 5.952 MB / 0.8998 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04389/0.9774, allocations: 32.37 MB / 0.9314 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.981, allocations: 2.111 MB / 0.9334 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.9826, allocations: 1.24 MB / 0.9347 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.9828, allocations: 106.1 kB / 0.9348 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.9828, allocations: 47.5 kB / 0.9348 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 3.387e-06/0.9829, allocations: 0 / 0.9348 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.008229/0.9911, allocations: 5.227 MB / 0.9399 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.788e-05/0.9912, allocations: 149.4 kB / 0.9401 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.9934, allocations: 1.457 MB / 0.9415 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.9935, allocations: 41.7 kB / 0.9415 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.9948, allocations: 1.859 MB / 0.9433 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004188/0.9952, allocations: 371 kB / 0.9437 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006795/0.9959, allocations: 467 kB / 0.9441 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.996, allocations: 301.1 kB / 0.9444 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.9977, allocations: 1.114 MB / 0.9455 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/1, allocations: 2.188 MB / 0.9476 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004173/1.004, allocations: 3.395 MB / 0.951 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/1.004, allocations: 8 kB / 0.951 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005251/1.01, allocations: 3.312 MB / 0.9542 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/1.01, allocations: 24.06 kB / 0.9542 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.255e-05/1.01, allocations: 35.94 kB / 0.9543 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.848e-05/1.01, allocations: 48 kB / 0.9543 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/1.012, allocations: 0.6199 MB / 0.9549 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.774e-05/1.012, allocations: 71.72 kB / 0.955 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/1.014, allocations: 310.7 kB / 0.9553 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/1.014, allocations: 124 kB / 0.9554 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004125/1.018, allocations: 2.401 MB / 0.9577 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002179/1.02, allocations: 2.02 MB / 0.9597 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003593/1.024, allocations: 3.029 MB / 0.9627 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.066e-05/1.024, allocations: 8 kB / 0.9627 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004684/1.029, allocations: 2.925 MB / 0.9655 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/1.029, allocations: 20.78 kB / 0.9655 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/1.029, allocations: 36.06 kB / 0.9656 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.171e-05/1.029, allocations: 52 kB / 0.9656 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/1.031, allocations: 0.5498 MB / 0.9662 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.806e-05/1.031, allocations: 75.66 kB / 0.9662 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/1.033, allocations: 243.5 kB / 0.9665 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/1.033, allocations: 116 kB / 0.9666 GB, free: 10.66 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006543/1.033, allocations: 335.2 kB / 0.9669 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/1.034, allocations: 162 kB / 0.9671 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/1.037, allocations: 2.219 MB / 0.9692 GB, free: 7.938 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/1.037, allocations: 11.94 kB / 0.9692 GB, free: 7.926 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.037, allocations: 8 kB / 0.9692 GB, free: 7.918 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/1.037, allocations: 3.984 kB / 0.9692 GB, free: 7.914 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.054, allocations: 10.98 MB / 0.98 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/1.054, allocations: 12 kB / 0.98 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/1.055, allocations: 387.4 kB / 0.9803 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.878e-05/1.055, allocations: 16 kB / 0.9804 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.485e-05/1.056, allocations: 32 kB / 0.9804 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.208e-05/1.056, allocations: 23.92 kB / 0.9804 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/1.056, allocations: 19.88 kB / 0.9804 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003538/1.059, allocations: 2.755 MB / 0.9831 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007953/1.06, allocations: 442.9 kB / 0.9835 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/1.06, allocations: 47.86 kB / 0.9836 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.061, allocations: 163.7 kB / 0.9838 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.061, allocations: 96.36 kB / 0.9838 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/1.062, allocations: 44 kB / 0.9839 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001323/1.063, allocations: 0.9781 MB / 0.9848 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/1.063, allocations: 4 kB / 0.9848 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004408/1.067, allocations: 1.121 MB / 0.9859 GB, free: 6.387 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003002/1.068, allocations: 162.8 kB / 0.9861 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00608/1.074, allocations: 4.005 MB / 0.99 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/1.074, allocations: 12.06 kB / 0.99 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/1.075, allocations: 1.056 MB / 0.991 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/1.078, allocations: 443.9 kB / 0.9915 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/1.09, allocations: 6.997 MB / 0.9983 GB, free: 9.586 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003932/1.094, allocations: 2.868 MB / 1.001 GB, free: 6.688 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002861/1.097, allocations: 1.211 MB / 1.002 GB, free: 5.469 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/1.098, allocations: 119.4 kB / 1.002 GB, free: 5.355 MB / 0.795 GB Notification: Performance of SimCode: time 8.51e-07/1.098, allocations: 0 / 1.002 GB, free: 5.355 MB / 0.795 GB Notification: Performance of Templates: time 0.04649/1.144, allocations: 24.54 MB / 1.026 GB, free: 13.07 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)