Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.631/1.631, allocations: 288.4 MB / 304.3 MB, free: 8.141 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.0009762/0.0009762, allocations: 191.3 kB / 373 MB, free: 10.16 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.394/1.394, allocations: 205.4 MB / 0.6317 GB, free: 9.91 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.0008053/0.0008055, allocations: 90.3 kB / 0.7451 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003937, allocations: 15.75 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.224, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7466/0.9707, allocations: 180.4 MB / 1.157 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/0.9711, allocations: 103 kB / 1.157 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2595/1.231, allocations: 112.4 MB / 1.267 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.675e-06/1.231, allocations: 0 / 1.267 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001375/1.231, allocations: 71.92 kB / 1.267 GB, free: 12.69 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006732/1.238, allocations: 2.489 MB / 1.269 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/1.238, allocations: 8.031 kB / 1.269 GB, free: 10.13 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004417/1.242, allocations: 0.6999 MB / 1.27 GB, free: 9.426 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003612/1.246, allocations: 1.629 MB / 1.272 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/1.246, allocations: 214.2 kB / 1.272 GB, free: 7.543 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000615/1.247, allocations: 296.2 kB / 1.272 GB, free: 7.254 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008457/1.255, allocations: 4.618 MB / 1.277 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-05/1.255, allocations: 8.125 kB / 1.277 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/1.255, allocations: 123.9 kB / 1.277 GB, free: 2.32 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002203/1.256, allocations: 184.7 kB / 1.277 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006827/1.263, allocations: 3.76 MB / 1.281 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02815/1.291, allocations: 23.07 MB / 1.303 GB, free: 5.156 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/1.294, allocations: 1.578 MB / 1.305 GB, free: 3.539 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/1.295, allocations: 0.856 MB / 1.305 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/1.295, allocations: 97.73 kB / 1.306 GB, free: 2.559 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/1.295, allocations: 43.2 kB / 1.306 GB, free: 2.508 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 4.038e-06/1.295, allocations: 0 / 1.306 GB, free: 2.508 MB / 0.823 GB Notification: Performance of matching and sorting (n=75): time 0.005735/1.301, allocations: 3.549 MB / 1.309 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/1.301, allocations: 153 kB / 1.309 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/1.302, allocations: 1.033 MB / 1.31 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.784e-05/1.302, allocations: 37.7 kB / 1.31 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008039/1.303, allocations: 1.196 MB / 1.311 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/1.304, allocations: 272.2 kB / 1.312 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/1.304, allocations: 24 kB / 1.312 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002069/1.304, allocations: 406.7 kB / 1.312 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/1.305, allocations: 0.7872 MB / 1.313 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/1.307, allocations: 1.283 MB / 1.314 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/1.309, allocations: 2.014 MB / 1.316 GB, free: 7.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/1.309, allocations: 4 kB / 1.316 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003315/1.312, allocations: 2.156 MB / 1.318 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003618/1.313, allocations: 0.4959 MB / 1.319 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/1.313, allocations: 16 kB / 1.319 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/1.313, allocations: 20 kB / 1.319 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.314, allocations: 415.3 kB / 1.319 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.419e-05/1.314, allocations: 35.86 kB / 1.319 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.316, allocations: 255.2 kB / 1.319 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.316, allocations: 59.98 kB / 1.319 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.316, allocations: 5.094 kB / 1.319 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002559/1.319, allocations: 1.749 MB / 1.321 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.319, allocations: 16 kB / 1.321 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/1.319, allocations: 20 kB / 1.321 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/1.32, allocations: 364.1 kB / 1.322 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.729e-05/1.32, allocations: 31.92 kB / 1.322 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.321, allocations: 183.2 kB / 1.322 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.336e-05/1.321, allocations: 56 kB / 1.322 GB, free: 1.176 MB / 0.8386 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 (156): * Single equations (assignments): 156 * 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.002472/1.324, allocations: 1.168 MB / 1.323 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/1.324, allocations: 102.8 kB / 1.323 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/1.326, allocations: 1.51 MB / 1.324 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.326, allocations: 12 kB / 1.324 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/1.326, allocations: 3.938 kB / 1.325 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.326, allocations: 3.984 kB / 1.325 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/1.338, allocations: 7.262 MB / 1.332 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.338, allocations: 8 kB / 1.332 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.339, allocations: 263.7 kB / 1.332 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/1.339, allocations: 12 kB / 1.332 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/1.339, allocations: 24 kB / 1.332 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.78e-05/1.339, allocations: 19.92 kB / 1.332 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/1.339, allocations: 15.94 kB / 1.332 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/1.341, allocations: 1.999 MB / 1.334 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/1.342, allocations: 375.5 kB / 1.334 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/1.342, allocations: 28 kB / 1.334 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008754/1.343, allocations: 135.8 kB / 1.334 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/1.343, allocations: 83.67 kB / 1.334 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/1.343, allocations: 28 kB / 1.334 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001009/1.344, allocations: 0.7064 MB / 1.335 GB, free: 3.047 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/1.344, allocations: 0 / 1.335 GB, free: 3.047 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002687/1.347, allocations: 0.8281 MB / 1.336 GB, free: 2.219 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (78): * Single equations (assignments): 78 * 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.0002711/1.347, allocations: 150.9 kB / 1.336 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003875/1.351, allocations: 2.641 MB / 1.339 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.351, allocations: 8.625 kB / 1.339 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/1.352, allocations: 0.7275 MB / 1.339 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/1.355, allocations: 284.8 kB / 1.34 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009299/1.364, allocations: 5.668 MB / 1.345 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/1.367, allocations: 2.128 MB / 1.347 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002236/1.369, allocations: 0.7421 MB / 1.348 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/1.369, allocations: 83.42 kB / 1.348 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of SimCode: time 2.825e-06/1.369, allocations: 0 / 1.348 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of Templates: time 0.02798/1.397, allocations: 15.22 MB / 1.363 GB, free: 6.523 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)