Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.676/2.676, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.001521/0.00152, allocations: 191.8 kB / 371 MB, free: 10.87 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.311/2.311, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.0009025/0.0009024, allocations: 91.41 kB / 0.743 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006791/0.0006793, allocations: 11.98 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2319, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.05135/0.2833, allocations: 33.88 MB / 1.011 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03423/0.3176, allocations: 12.88 MB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004893/0.3226, allocations: 99.56 kB / 1.024 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004354/0.327, allocations: 0.5816 MB / 1.025 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007413/0.3345, allocations: 1.101 MB / 1.026 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007798/0.3423, allocations: 1.518 MB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01345/0.3558, allocations: 7.269 MB / 1.034 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02542/0.3813, allocations: 10.06 MB / 1.044 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005217/0.3866, allocations: 1.868 MB / 1.046 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006993/0.3936, allocations: 2.652 MB / 1.049 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.3955, allocations: 252 kB / 1.049 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/0.3993, allocations: 0.5425 MB / 1.049 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004499/0.4038, allocations: 1.988 MB / 1.051 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00244/0.4063, allocations: 0.82 MB / 1.052 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01317/0.4196, allocations: 7.644 MB / 1.06 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.655e-05/0.4196, allocations: 4 kB / 1.06 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.516e-06/0.4196, allocations: 0 / 1.06 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.00029/0.4199, allocations: 0 / 1.06 GB, free: 8.938 MB / 0.6823 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.01306/0.433, allocations: 3.443 MB / 1.063 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.4331, allocations: 8.031 kB / 1.063 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007278/0.4404, allocations: 0.951 MB / 1.064 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007142/0.4476, allocations: 2.143 MB / 1.066 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000555/0.4482, allocations: 328.6 kB / 1.066 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002085/0.4503, allocations: 431.9 kB / 1.067 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6821/1.132, allocations: 7.321 MB / 1.074 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002331/1.133, allocations: 11.81 kB / 1.074 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001514/1.134, allocations: 187.2 kB / 1.074 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007111/1.135, allocations: 285.7 kB / 1.074 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/1.157, allocations: 5.935 MB / 1.08 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06057/1.217, allocations: 32.62 MB / 1.112 GB, free: 53.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005872/1.223, allocations: 2.112 MB / 1.114 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00291/1.226, allocations: 1.238 MB / 1.115 GB, free: 52.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/1.227, allocations: 110 kB / 1.115 GB, free: 51.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/1.227, allocations: 44.5 kB / 1.115 GB, free: 51.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 4.218e-06/1.227, allocations: 4 kB / 1.115 GB, free: 51.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=101): time 0.01492/1.242, allocations: 5.231 MB / 1.12 GB, free: 48.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/1.242, allocations: 139.8 kB / 1.121 GB, free: 48.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/1.245, allocations: 1.439 MB / 1.122 GB, free: 47.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003526/1.246, allocations: 51.14 kB / 1.122 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/1.247, allocations: 1.86 MB / 1.124 GB, free: 45.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006966/1.248, allocations: 372 kB / 1.124 GB, free: 45.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/1.248, allocations: 44.5 kB / 1.124 GB, free: 45.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.248, allocations: 393 kB / 1.125 GB, free: 45.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003159/1.251, allocations: 1.097 MB / 1.126 GB, free: 44.67 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004207/1.256, allocations: 2.176 MB / 1.128 GB, free: 42.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/1.26, allocations: 1.522 MB / 1.129 GB, free: 41.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-05/1.26, allocations: 12.94 kB / 1.129 GB, free: 41.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009674/1.269, allocations: 3.302 MB / 1.133 GB, free: 40.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008065/1.27, allocations: 1.083 MB / 1.134 GB, free: 38.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.272e-05/1.27, allocations: 33.59 kB / 1.134 GB, free: 38.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/1.271, allocations: 52.16 kB / 1.134 GB, free: 38.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004638/1.275, allocations: 0.6178 MB / 1.134 GB, free: 38.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001088/1.275, allocations: 71.19 kB / 1.134 GB, free: 38.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003748/1.279, allocations: 311.6 kB / 1.135 GB, free: 38.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006006/1.28, allocations: 120.5 kB / 1.135 GB, free: 38.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.28, allocations: 4.188 kB / 1.135 GB, free: 38.21 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007082/1.287, allocations: 2.733 MB / 1.137 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/1.287, allocations: 34.88 kB / 1.138 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.884e-05/1.287, allocations: 53.09 kB / 1.138 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003685/1.291, allocations: 0.5485 MB / 1.138 GB, free: 36.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.315e-05/1.291, allocations: 73.84 kB / 1.138 GB, free: 36.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/1.294, allocations: 235.8 kB / 1.138 GB, free: 36.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003964/1.294, allocations: 112.3 kB / 1.138 GB, free: 36.49 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004181/1.299, allocations: 1.703 MB / 1.14 GB, free: 35.35 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006328/1.299, allocations: 162.1 kB / 1.14 GB, free: 35.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005191/1.304, allocations: 2.23 MB / 1.142 GB, free: 32.95 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/1.304, allocations: 8 kB / 1.142 GB, free: 32.94 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.304, allocations: 4 kB / 1.142 GB, free: 32.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/1.305, allocations: 7.938 kB / 1.143 GB, free: 32.93 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/1.327, allocations: 10.97 MB / 1.153 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/1.327, allocations: 15.55 kB / 1.153 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002893/1.33, allocations: 387.3 kB / 1.154 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.693e-05/1.33, allocations: 16 kB / 1.154 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002618/1.33, allocations: 32 kB / 1.154 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.405e-05/1.33, allocations: 27.88 kB / 1.154 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.827e-05/1.33, allocations: 20.38 kB / 1.154 GB, free: 21.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005047/1.335, allocations: 2.751 MB / 1.156 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/1.337, allocations: 466.7 kB / 1.157 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004729/1.337, allocations: 47.98 kB / 1.157 GB, free: 17.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/1.34, allocations: 163.7 kB / 1.157 GB, free: 17.65 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/1.34, allocations: 100.2 kB / 1.157 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.34, allocations: 40 kB / 1.157 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001904/1.342, allocations: 0.9586 MB / 1.158 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.21e-07/1.342, allocations: 0 / 1.158 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006923/1.349, allocations: 1.129 MB / 1.159 GB, free: 15.43 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005342/1.35, allocations: 151.6 kB / 1.159 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009062/1.359, allocations: 3.958 MB / 1.163 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.945e-05/1.359, allocations: 0 / 1.163 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002361/1.361, allocations: 1.056 MB / 1.164 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/1.365, allocations: 409.2 kB / 1.165 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/1.383, allocations: 8.491 MB / 1.173 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005692/1.388, allocations: 2.868 MB / 1.176 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005694/1.394, allocations: 1.204 MB / 1.177 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.395, allocations: 119.4 kB / 1.177 GB, free: 12.98 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/1.395, allocations: 0 / 1.177 GB, free: 12.98 MB / 0.698 GB Notification: Performance of Templates: time 0.07443/1.47, allocations: 22.9 MB / 1.199 GB, free: 6.285 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)