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.001562/0.001563, allocations: 107.9 kB / 16.37 MB, free: 5.988 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.001743/0.001743, allocations: 191.9 kB / 17.31 MB, free: 5.605 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.565/1.565, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.877/1.877, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001417/0.001417, allocations: 63.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2148, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.4071/0.6219, allocations: 16.71 MB / 0.8011 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009344/0.6313, allocations: 6.308 MB / 0.8073 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.6332, allocations: 52.5 kB / 0.8073 GB, free: 37.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003571/0.6369, allocations: 1.292 MB / 0.8086 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.6395, allocations: 0.8398 MB / 0.8094 GB, free: 35.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.6438, allocations: 1.543 MB / 0.8109 GB, free: 34.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005632/0.6495, allocations: 3.844 MB / 0.8147 GB, free: 33.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006054/0.6556, allocations: 5.012 MB / 0.8196 GB, free: 31.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/0.6584, allocations: 1.642 MB / 0.8212 GB, free: 30.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003777/0.6622, allocations: 1.989 MB / 0.8231 GB, free: 29.92 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001263/0.6635, allocations: 379.5 kB / 0.8235 GB, free: 29.92 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.6661, allocations: 0.826 MB / 0.8243 GB, free: 29.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002531/0.6687, allocations: 1.492 MB / 0.8257 GB, free: 29.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0039/0.6726, allocations: 1.532 MB / 0.8272 GB, free: 28.13 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007761/0.6804, allocations: 5.536 MB / 0.8326 GB, free: 26.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6804, allocations: 0 / 0.8326 GB, free: 26.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6804, allocations: 0 / 0.8326 GB, free: 26.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001621/0.6806, allocations: 0 / 0.8326 GB, free: 26.44 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.008464/0.6891, allocations: 2.729 MB / 0.8353 GB, free: 24.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.6891, allocations: 8 kB / 0.8353 GB, free: 24.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/0.6937, allocations: 0.771 MB / 0.8361 GB, free: 24.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/0.6973, allocations: 1.434 MB / 0.8375 GB, free: 23.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.6976, allocations: 197.8 kB / 0.8377 GB, free: 23.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.6987, allocations: 245.3 kB / 0.8379 GB, free: 23.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/0.7095, allocations: 4.586 MB / 0.8424 GB, free: 21.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-05/0.7097, allocations: 11.78 kB / 0.8424 GB, free: 21.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/0.71, allocations: 120.7 kB / 0.8425 GB, free: 21.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002193/0.7103, allocations: 173.7 kB / 0.8427 GB, free: 21.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006774/0.717, allocations: 3.834 MB / 0.8464 GB, free: 19.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02117/0.7383, allocations: 21.28 MB / 0.8672 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.741, allocations: 2.256 MB / 0.8694 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.7421, allocations: 0.7211 MB / 0.8701 GB, free: 13.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.7422, allocations: 6.625 kB / 0.8701 GB, free: 13.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.7422, allocations: 54.66 kB / 0.8701 GB, free: 13.75 MB / 0.67 GB Notification: Performance of pre-optimization done (n=62): time 2.876e-06/0.7423, allocations: 1.031 kB / 0.8701 GB, free: 13.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=68): time 0.00631/0.7486, allocations: 4.191 MB / 0.8742 GB, free: 10.88 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.7487, allocations: 250.9 kB / 0.8745 GB, free: 10.59 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.7502, allocations: 1.109 MB / 0.8756 GB, free: 9.953 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.981e-05/0.7503, allocations: 36.39 kB / 0.8756 GB, free: 9.914 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007421/0.7511, allocations: 1.191 MB / 0.8768 GB, free: 8.855 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.7513, allocations: 249.7 kB / 0.877 GB, free: 8.645 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004772/0.7518, allocations: 328.7 kB / 0.8773 GB, free: 8.457 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.752, allocations: 343.6 kB / 0.8776 GB, free: 8.125 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009991/0.753, allocations: 0.7183 MB / 0.8783 GB, free: 7.746 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.7544, allocations: 1.407 MB / 0.8797 GB, free: 6.367 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.7569, allocations: 2.16 MB / 0.8818 GB, free: 3.875 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.7569, allocations: 8 kB / 0.8818 GB, free: 3.867 MB / 0.67 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003205/0.7601, allocations: 2.184 MB / 0.884 GB, free: 1.676 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.7601, allocations: 27.91 kB / 0.884 GB, free: 1.648 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/0.7602, allocations: 24 kB / 0.884 GB, free: 1.625 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.385e-05/0.7602, allocations: 32 kB / 0.884 GB, free: 1.594 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.7617, allocations: 431.2 kB / 0.8845 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.191e-05/0.7617, allocations: 47.8 kB / 0.8845 GB, free: 1.125 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.7631, allocations: 187.4 kB / 0.8847 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.7632, allocations: 83.98 kB / 0.8848 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002454/0.7657, allocations: 1.546 MB / 0.8863 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00127/0.767, allocations: 1.322 MB / 0.8876 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002107/0.7691, allocations: 1.972 MB / 0.8895 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.214e-05/0.7691, allocations: 8 kB / 0.8895 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002893/0.772, allocations: 1.98 MB / 0.8914 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.7721, allocations: 16.78 kB / 0.8914 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.7721, allocations: 24 kB / 0.8915 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/0.7721, allocations: 39.94 kB / 0.8915 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.7733, allocations: 395.2 kB / 0.8919 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.871e-05/0.7734, allocations: 51.84 kB / 0.8919 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.7746, allocations: 161.3 kB / 0.8921 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.7747, allocations: 83.98 kB / 0.8922 GB, free: 8.562 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.0003766/0.7751, allocations: 287.5 kB / 0.8924 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/0.7754, allocations: 110.7 kB / 0.8925 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.777, allocations: 1.096 MB / 0.8936 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.777, allocations: 8.281 kB / 0.8936 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.777, allocations: 4 kB / 0.8936 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.777, allocations: 11.97 kB / 0.8936 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.7903, allocations: 10.18 MB / 0.9036 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/0.7904, allocations: 16 kB / 0.9036 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/0.791, allocations: 187.7 kB / 0.9038 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-05/0.7911, allocations: 20 kB / 0.9038 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.7911, allocations: 32 kB / 0.9038 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.142e-05/0.7912, allocations: 31.86 kB / 0.9039 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.695e-05/0.7912, allocations: 23.88 kB / 0.9039 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.7933, allocations: 2.164 MB / 0.906 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005871/0.7939, allocations: 325.5 kB / 0.9063 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.7941, allocations: 47.83 kB / 0.9063 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009745/0.7951, allocations: 95.88 kB / 0.9064 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.7952, allocations: 99.55 kB / 0.9065 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/0.7953, allocations: 40 kB / 0.9066 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001097/0.7964, allocations: 0.7658 MB / 0.9073 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7964, allocations: 0 / 0.9073 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003223/0.7996, allocations: 0.7266 MB / 0.908 GB, free: 7.809 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.0002297/0.7999, allocations: 150.9 kB / 0.9082 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003565/0.8035, allocations: 2.517 MB / 0.9106 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.8035, allocations: 0 / 0.9106 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007407/0.8042, allocations: 0.5743 MB / 0.9112 GB, free: 4.566 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.8063, allocations: 257.7 kB / 0.9114 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007451/0.8138, allocations: 4.814 MB / 0.9161 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/0.8158, allocations: 2.07 MB / 0.9182 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.8163, allocations: 103.4 kB / 0.9183 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/0.8163, allocations: 0 / 0.9183 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of Templates: time 0.03684/0.8532, allocations: 25.07 MB / 0.9427 GB, free: 4.098 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)