Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 293 MB / 309 MB, free: 4.801 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.001032/0.001032, allocations: 184.2 kB / 378.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 0.6383 GB, free: 8.254 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007141/0.0007141, allocations: 96.28 kB / 0.7527 GB, free: 62.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003632, allocations: 15.97 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3302, allocations: 116.4 MB / 0.9905 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7982/1.128, allocations: 163.4 MB / 1.15 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/1.129, allocations: 102.3 kB / 1.15 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2228/1.352, allocations: 86.85 MB / 1.235 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.715e-06/1.352, allocations: 0 / 1.235 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001816/1.352, allocations: 43.98 kB / 1.235 GB, free: 10.39 MB / 0.8073 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.005129/1.357, allocations: 1.646 MB / 1.237 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/1.357, allocations: 12.03 kB / 1.237 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/1.362, allocations: 0.627 MB / 1.237 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/1.365, allocations: 0.9147 MB / 1.238 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/1.365, allocations: 94.89 kB / 1.238 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005114/1.365, allocations: 128.3 kB / 1.238 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004642/1.37, allocations: 2.338 MB / 1.241 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.936e-05/1.37, allocations: 19.97 kB / 1.241 GB, free: 4.211 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/1.37, allocations: 67.91 kB / 1.241 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002125/1.37, allocations: 142.3 kB / 1.241 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003485/1.374, allocations: 1.859 MB / 1.243 GB, free: 2.137 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/1.389, allocations: 12.5 MB / 1.255 GB, free: 4.684 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003857/1.393, allocations: 1.859 MB / 1.257 GB, free: 2.82 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009148/1.394, allocations: 0.6127 MB / 1.257 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/1.394, allocations: 106.1 kB / 1.257 GB, free: 2.082 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.394, allocations: 43.56 kB / 1.257 GB, free: 2.027 MB / 0.823 GB Notification: Performance of pre-optimization done (n=103): time 3.397e-06/1.394, allocations: 0 / 1.257 GB, free: 2.027 MB / 0.823 GB Notification: Performance of matching and sorting (n=110): time 0.006795/1.401, allocations: 3.694 MB / 1.261 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/1.401, allocations: 68.28 kB / 1.261 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/1.402, allocations: 0.9165 MB / 1.262 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.487e-05/1.403, allocations: 45.69 kB / 1.262 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/1.403, allocations: 0.7044 MB / 1.263 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004271/1.403, allocations: 390.5 kB / 1.263 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.612e-05/1.404, allocations: 28 kB / 1.263 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.404, allocations: 365.9 kB / 1.263 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009545/1.405, allocations: 0.5973 MB / 1.264 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/1.406, allocations: 1.044 MB / 1.265 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/1.409, allocations: 1.759 MB / 1.267 GB, free: 7.832 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/1.409, allocations: 4 kB / 1.267 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003766/1.412, allocations: 2.037 MB / 1.269 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/1.412, allocations: 8.969 kB / 1.269 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/1.412, allocations: 16 kB / 1.269 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008698/1.413, allocations: 262.5 kB / 1.269 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.415, allocations: 355.4 kB / 1.269 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009748/1.424, allocations: 10.75 MB / 1.28 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.426, allocations: 119.8 kB / 1.28 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/1.426, allocations: 71.92 kB / 1.28 GB, free: 9.094 MB / 0.8542 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.001105/1.427, allocations: 393.4 kB / 1.28 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/1.428, allocations: 134.4 kB / 1.281 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/1.431, allocations: 1.68 MB / 1.282 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/1.431, allocations: 12 kB / 1.282 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.431, allocations: 4 kB / 1.282 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/1.431, allocations: 3.984 kB / 1.282 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006059/1.437, allocations: 3.288 MB / 1.285 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/1.437, allocations: 8 kB / 1.285 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/1.438, allocations: 219.6 kB / 1.286 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006909/1.439, allocations: 247 kB / 1.286 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/1.439, allocations: 23.94 kB / 1.286 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008996/1.448, allocations: 10.75 MB / 1.296 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/1.448, allocations: 16 kB / 1.296 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/1.451, allocations: 1.784 MB / 1.298 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008214/1.452, allocations: 327.3 kB / 1.298 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/1.452, allocations: 31.98 kB / 1.299 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008555/1.453, allocations: 83.88 kB / 1.299 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/1.453, allocations: 104.6 kB / 1.299 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.522e-05/1.453, allocations: 36 kB / 1.299 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009873/1.454, allocations: 0.6099 MB / 1.299 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/1.454, allocations: 0 / 1.299 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00169/1.456, allocations: 408 kB / 1.3 GB, free: 3.562 MB / 0.8698 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.0003123/1.456, allocations: 152.2 kB / 1.3 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003733/1.46, allocations: 2.462 MB / 1.302 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.46, allocations: 0 / 1.302 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/1.462, allocations: 1.617 MB / 1.304 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/1.465, allocations: 334.9 kB / 1.304 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/1.471, allocations: 3.242 MB / 1.307 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/1.472, allocations: 1.331 MB / 1.309 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001385/1.474, allocations: 363 kB / 1.309 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/1.474, allocations: 95.42 kB / 1.309 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of SimCode: time 1.192e-06/1.474, allocations: 0 / 1.309 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of Templates: time 0.03232/1.507, allocations: 15.95 MB / 1.325 GB, free: 9.816 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)