Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 106.7 kB / 16.29 MB, free: 6.43 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.001716/0.001716, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.401/1.401, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.841/1.841, allocations: 292.3 MB / 0.5495 GB, free: 17.78 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.001395/0.001395, allocations: 75.89 kB / 0.6722 GB, free: 6.457 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2298, allocations: 114.5 MB / 0.7841 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.4053/0.6352, allocations: 16.71 MB / 0.8004 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009597/0.6449, allocations: 6.306 MB / 0.8066 GB, free: 37.13 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.6465, allocations: 53.84 kB / 0.8066 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.6504, allocations: 1.285 MB / 0.8079 GB, free: 36.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.6535, allocations: 0.8408 MB / 0.8087 GB, free: 35.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.6582, allocations: 1.553 MB / 0.8102 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006972/0.6652, allocations: 3.845 MB / 0.814 GB, free: 33.36 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008219/0.6734, allocations: 5.005 MB / 0.8188 GB, free: 31.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.6763, allocations: 1.646 MB / 0.8204 GB, free: 30.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003955/0.6803, allocations: 1.989 MB / 0.8224 GB, free: 30 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001461/0.6818, allocations: 379.6 kB / 0.8228 GB, free: 30 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.684, allocations: 0.8254 MB / 0.8236 GB, free: 29.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002105/0.6861, allocations: 1.488 MB / 0.825 GB, free: 29.22 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001746/0.6879, allocations: 1.532 MB / 0.8265 GB, free: 28.22 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006292/0.6942, allocations: 5.54 MB / 0.8319 GB, free: 26.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.6942, allocations: 0 / 0.8319 GB, free: 26.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6942, allocations: 0 / 0.8319 GB, free: 26.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001414/0.6944, allocations: 0 / 0.8319 GB, free: 26.52 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006183/0.7006, allocations: 2.733 MB / 0.8346 GB, free: 24.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.7006, allocations: 9 kB / 0.8346 GB, free: 24.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003871/0.7045, allocations: 0.7668 MB / 0.8353 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.7068, allocations: 1.411 MB / 0.8367 GB, free: 23.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.7069, allocations: 193.6 kB / 0.8369 GB, free: 23.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003999/0.7073, allocations: 247 kB / 0.8371 GB, free: 23.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007486/0.7148, allocations: 4.589 MB / 0.8416 GB, free: 21.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.489e-05/0.7149, allocations: 6.719 kB / 0.8416 GB, free: 21.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/0.7152, allocations: 114.8 kB / 0.8417 GB, free: 21.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/0.7154, allocations: 178.6 kB / 0.8419 GB, free: 21.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006425/0.7218, allocations: 3.831 MB / 0.8457 GB, free: 19.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02162/0.7435, allocations: 21.27 MB / 0.8664 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.7461, allocations: 2.253 MB / 0.8686 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.7472, allocations: 0.721 MB / 0.8693 GB, free: 13.99 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.7472, allocations: 11.62 kB / 0.8693 GB, free: 13.99 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.7473, allocations: 53.31 kB / 0.8694 GB, free: 13.93 MB / 0.67 GB Notification: Performance of pre-optimization done (n=62): time 4.338e-06/0.7473, allocations: 1.094 kB / 0.8694 GB, free: 13.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=68): time 0.006102/0.7534, allocations: 4.198 MB / 0.8735 GB, free: 11.06 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.7536, allocations: 247.5 kB / 0.8737 GB, free: 10.77 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.7552, allocations: 1.11 MB / 0.8748 GB, free: 10.13 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.7553, allocations: 37.48 kB / 0.8749 GB, free: 10.09 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000714/0.756, allocations: 1.189 MB / 0.876 GB, free: 9.035 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.7562, allocations: 249.1 kB / 0.8763 GB, free: 8.824 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004834/0.7567, allocations: 333.1 kB / 0.8766 GB, free: 8.633 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7569, allocations: 343.2 kB / 0.8769 GB, free: 8.301 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009763/0.7579, allocations: 0.7148 MB / 0.8776 GB, free: 7.926 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.7593, allocations: 1.401 MB / 0.879 GB, free: 6.609 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.7619, allocations: 2.165 MB / 0.8811 GB, free: 4.301 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.7619, allocations: 4 kB / 0.8811 GB, free: 4.297 MB / 0.67 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003363/0.7653, allocations: 2.188 MB / 0.8832 GB, free: 2.102 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.7653, allocations: 24.78 kB / 0.8832 GB, free: 2.078 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/0.7653, allocations: 24 kB / 0.8833 GB, free: 2.055 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.657e-05/0.7654, allocations: 32 kB / 0.8833 GB, free: 2.023 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.7668, allocations: 431.2 kB / 0.8837 GB, free: 1.602 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-05/0.7669, allocations: 47.8 kB / 0.8837 GB, free: 1.555 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.7681, allocations: 187.4 kB / 0.8839 GB, free: 1.371 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.7682, allocations: 85.77 kB / 0.884 GB, free: 1.289 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002573/0.7708, allocations: 1.546 MB / 0.8855 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001297/0.7721, allocations: 1.325 MB / 0.8868 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002123/0.7743, allocations: 1.976 MB / 0.8887 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.031e-05/0.7743, allocations: 8 kB / 0.8888 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002796/0.7771, allocations: 1.98 MB / 0.8907 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.7771, allocations: 16 kB / 0.8907 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.7771, allocations: 24 kB / 0.8907 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.7772, allocations: 40.22 kB / 0.8908 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.7784, allocations: 395.2 kB / 0.8911 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-05/0.7784, allocations: 43.86 kB / 0.8912 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.7794, allocations: 159.8 kB / 0.8913 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.7796, allocations: 87.92 kB / 0.8914 GB, free: 8.988 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.0003447/0.7799, allocations: 287.6 kB / 0.8917 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/0.7802, allocations: 110.7 kB / 0.8918 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.7818, allocations: 1.096 MB / 0.8929 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.7818, allocations: 12 kB / 0.8929 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7819, allocations: 3.938 kB / 0.8929 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.7819, allocations: 11.98 kB / 0.8929 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/0.7959, allocations: 10.18 MB / 0.9028 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/0.796, allocations: 16 kB / 0.9028 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/0.7967, allocations: 187.7 kB / 0.903 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.27e-05/0.7967, allocations: 20 kB / 0.903 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.357e-05/0.7968, allocations: 28 kB / 0.9031 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.539e-05/0.7968, allocations: 31.86 kB / 0.9031 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.867e-05/0.7968, allocations: 27.88 kB / 0.9031 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.7992, allocations: 2.16 MB / 0.9052 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/0.7997, allocations: 319.6 kB / 0.9055 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.7998, allocations: 35.98 kB / 0.9056 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008934/0.8007, allocations: 99.88 kB / 0.9057 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.8009, allocations: 99.55 kB / 0.9058 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/0.8009, allocations: 36 kB / 0.9058 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009898/0.8019, allocations: 0.7697 MB / 0.9066 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8019, allocations: 0 / 0.9066 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003184/0.8051, allocations: 0.7266 MB / 0.9073 GB, free: 8.246 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0002713/0.8054, allocations: 154.9 kB / 0.9074 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003703/0.8091, allocations: 2.509 MB / 0.9099 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.8091, allocations: 0 / 0.9099 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007382/0.8099, allocations: 0.5743 MB / 0.9104 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.8118, allocations: 251.2 kB / 0.9107 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007089/0.8189, allocations: 4.412 MB / 0.915 GB, free: 128 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/0.821, allocations: 2.007 MB / 0.9169 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001952/0.8229, allocations: 0.8561 MB / 0.9178 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.8233, allocations: 95.41 kB / 0.9179 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of SimCode: time 1.122e-06/0.8233, allocations: 0 / 0.9179 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of Templates: time 0.02544/0.8487, allocations: 14.34 MB / 0.9319 GB, free: 14.93 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)