Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.578/1.578, allocations: 297.8 MB / 313.8 MB, free: 92 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.0009402/0.0009401, allocations: 174.8 kB / 384.6 MB, free: 10.84 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.345/1.345, allocations: 223.2 MB / 0.6626 GB, free: 4.34 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.0007884/0.0007884, allocations: 94.53 kB / 0.7808 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 12 kB / 0.9088 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.5559, allocations: 120.3 MB / 1.026 GB, free: 56.79 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.7396, allocations: 157.2 MB / 1.18 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.74, allocations: 94.52 kB / 1.18 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06715/0.8071, allocations: 30.43 MB / 1.21 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8072, allocations: 0 / 1.21 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.382e-05/0.8072, allocations: 19.98 kB / 1.21 GB, free: 2.195 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001152/0.8084, allocations: 0.7287 MB / 1.21 GB, free: 1.418 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.8084, allocations: 12.03 kB / 1.21 GB, free: 1.406 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.8097, allocations: 180.1 kB / 1.211 GB, free: 1.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.8103, allocations: 411.5 kB / 1.211 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.8103, allocations: 29.3 kB / 1.211 GB, free: 0.7617 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.8104, allocations: 32.36 kB / 1.211 GB, free: 0.7305 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/0.8113, allocations: 0.6967 MB / 1.212 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.8113, allocations: 7.938 kB / 1.212 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.8114, allocations: 23.98 kB / 1.212 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.867e-05/0.8115, allocations: 47.91 kB / 1.212 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/0.8122, allocations: 495.3 kB / 1.212 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.8151, allocations: 3.798 MB / 1.216 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.8169, allocations: 0.6829 MB / 1.217 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.8172, allocations: 174.4 kB / 1.217 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.8172, allocations: 4 kB / 1.217 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.8172, allocations: 46.5 kB / 1.217 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.8173, allocations: 3.938 kB / 1.217 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.002073/0.8193, allocations: 1.269 MB / 1.218 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.8194, allocations: 110.8 kB / 1.218 GB, free: 8.863 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.8198, allocations: 399.4 kB / 1.219 GB, free: 8.469 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.8199, allocations: 37.69 kB / 1.219 GB, free: 8.426 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.82, allocations: 267.6 kB / 1.219 GB, free: 8.16 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.8201, allocations: 118.3 kB / 1.219 GB, free: 8.043 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.8202, allocations: 12 kB / 1.219 GB, free: 8.031 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.8203, allocations: 354.8 kB / 1.219 GB, free: 7.676 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.8205, allocations: 173 kB / 1.219 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.8209, allocations: 349.4 kB / 1.22 GB, free: 7.082 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.8215, allocations: 0.5648 MB / 1.22 GB, free: 6.438 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.8216, allocations: 11.88 kB / 1.22 GB, free: 6.426 MB / 0.7917 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001001/0.8226, allocations: 0.6415 MB / 1.221 GB, free: 5.77 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.8226, allocations: 4 kB / 1.221 GB, free: 5.766 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.8226, allocations: 8 kB / 1.221 GB, free: 5.758 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.8229, allocations: 102.4 kB / 1.221 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.8233, allocations: 103.8 kB / 1.221 GB, free: 5.547 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.8262, allocations: 4.034 MB / 1.225 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.8265, allocations: 31.97 kB / 1.225 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.8266, allocations: 20 kB / 1.225 GB, free: 1.062 MB / 0.7917 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002364/0.8268, allocations: 202.2 kB / 1.225 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.8269, allocations: 47.42 kB / 1.225 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007973/0.8277, allocations: 0.513 MB / 1.226 GB, free: 284 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.8278, allocations: 4 kB / 1.226 GB, free: 280 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8278, allocations: 4 kB / 1.226 GB, free: 276 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.8278, allocations: 7.984 kB / 1.226 GB, free: 268 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.8294, allocations: 1.279 MB / 1.227 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.8295, allocations: 0 / 1.227 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.8297, allocations: 71.84 kB / 1.227 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002281/0.8299, allocations: 86.78 kB / 1.227 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.83, allocations: 12 kB / 1.227 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002664/0.8326, allocations: 4.017 MB / 1.231 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.8326, allocations: 11.92 kB / 1.231 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007999/0.8335, allocations: 0.7706 MB / 1.232 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.8336, allocations: 156.5 kB / 1.232 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.8337, allocations: 11.94 kB / 1.232 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.834, allocations: 19.97 kB / 1.232 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.834, allocations: 39.97 kB / 1.232 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.8341, allocations: 8.281 kB / 1.232 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002687/0.8343, allocations: 279.1 kB / 1.233 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.964e-06/0.8343, allocations: 0 / 1.233 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000581/0.8349, allocations: 139.8 kB / 1.233 GB, free: 8.805 MB / 0.8073 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.0001488/0.8351, allocations: 127.1 kB / 1.233 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.8362, allocations: 0.792 MB / 1.234 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8362, allocations: 0 / 1.234 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006376/0.8368, allocations: 0.5513 MB / 1.234 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009198/0.8378, allocations: 116.9 kB / 1.234 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.8391, allocations: 1.058 MB / 1.235 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.8395, allocations: 0.8703 MB / 1.236 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002922/0.8398, allocations: 100.5 kB / 1.236 GB, free: 5.027 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.8399, allocations: 35.44 kB / 1.236 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of SimCode: time 2.5e-07/0.8399, allocations: 0 / 1.236 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of Templates: time 0.009366/0.8493, allocations: 5.396 MB / 1.242 GB, free: 15.65 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)