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.001093/0.001093, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001147/0.001147, allocations: 190.3 kB / 17.29 MB, free: 5.516 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.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.833/1.833, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001356/0.001356, allocations: 63.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2557, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.4955/0.7513, allocations: 16.71 MB / 0.8011 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.7623, allocations: 6.314 MB / 0.8073 GB, free: 36.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.7646, allocations: 51.16 kB / 0.8073 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003766/0.7684, allocations: 1.279 MB / 0.8086 GB, free: 36.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.7715, allocations: 0.8409 MB / 0.8094 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004669/0.7762, allocations: 1.553 MB / 0.8109 GB, free: 34.87 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006564/0.7828, allocations: 3.847 MB / 0.8147 GB, free: 33.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007016/0.7898, allocations: 5.009 MB / 0.8195 GB, free: 31.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004027/0.7939, allocations: 1.646 MB / 0.8212 GB, free: 30.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004238/0.7982, allocations: 1.985 MB / 0.8231 GB, free: 29.86 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001269/0.7995, allocations: 379 kB / 0.8235 GB, free: 29.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.802, allocations: 0.8249 MB / 0.8243 GB, free: 29.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002452/0.8045, allocations: 1.492 MB / 0.8257 GB, free: 29.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003289/0.8078, allocations: 1.528 MB / 0.8272 GB, free: 28.08 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009389/0.8172, allocations: 5.54 MB / 0.8326 GB, free: 26.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.8173, allocations: 4 kB / 0.8326 GB, free: 26.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8173, allocations: 0 / 0.8326 GB, free: 26.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002/0.8175, allocations: 0 / 0.8326 GB, free: 26.38 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.008496/0.826, allocations: 2.724 MB / 0.8353 GB, free: 24.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.8261, allocations: 10.25 kB / 0.8353 GB, free: 24.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004359/0.8304, allocations: 0.7742 MB / 0.836 GB, free: 24.65 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/0.834, allocations: 1.403 MB / 0.8374 GB, free: 23.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.8342, allocations: 199.7 kB / 0.8376 GB, free: 23.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007269/0.835, allocations: 249.2 kB / 0.8378 GB, free: 23.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.8454, allocations: 4.586 MB / 0.8423 GB, free: 21.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.022e-05/0.8456, allocations: 16.25 kB / 0.8423 GB, free: 21.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003704/0.8459, allocations: 113.7 kB / 0.8424 GB, free: 21.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002581/0.8462, allocations: 175.4 kB / 0.8426 GB, free: 21.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006602/0.8528, allocations: 3.829 MB / 0.8464 GB, free: 19.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02363/0.8765, allocations: 21.28 MB / 0.8671 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/0.8794, allocations: 2.247 MB / 0.8693 GB, free: 14.16 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.8805, allocations: 0.7217 MB / 0.87 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.8805, allocations: 14.89 kB / 0.87 GB, free: 13.75 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.8806, allocations: 50.34 kB / 0.8701 GB, free: 13.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=62): time 2.786e-06/0.8806, allocations: 0 / 0.8701 GB, free: 13.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=68): time 0.006507/0.8871, allocations: 4.199 MB / 0.8742 GB, free: 10.83 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.8872, allocations: 241 kB / 0.8744 GB, free: 10.55 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.8888, allocations: 1.11 MB / 0.8755 GB, free: 9.91 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.327e-05/0.8889, allocations: 34.67 kB / 0.8755 GB, free: 9.871 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007127/0.8896, allocations: 1.192 MB / 0.8767 GB, free: 8.812 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.8899, allocations: 248.4 kB / 0.8769 GB, free: 8.602 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005078/0.8904, allocations: 335.5 kB / 0.8773 GB, free: 8.41 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8905, allocations: 347.6 kB / 0.8776 GB, free: 8.074 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.8915, allocations: 0.7101 MB / 0.8783 GB, free: 7.703 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.8934, allocations: 1.406 MB / 0.8797 GB, free: 6.383 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/0.8967, allocations: 2.157 MB / 0.8818 GB, free: 3.957 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.386e-05/0.8967, allocations: 15.98 kB / 0.8818 GB, free: 3.941 MB / 0.67 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003559/0.9003, allocations: 2.18 MB / 0.8839 GB, free: 1.754 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.9004, allocations: 20.72 kB / 0.8839 GB, free: 1.734 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.9004, allocations: 24 kB / 0.884 GB, free: 1.711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.801e-05/0.9005, allocations: 32 kB / 0.884 GB, free: 1.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.9019, allocations: 439.2 kB / 0.8844 GB, free: 1.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.131e-05/0.902, allocations: 47.86 kB / 0.8845 GB, free: 1.203 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.9035, allocations: 187.8 kB / 0.8846 GB, free: 1.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.9036, allocations: 85.58 kB / 0.8847 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002991/0.9066, allocations: 1.55 MB / 0.8862 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001451/0.9081, allocations: 1.322 MB / 0.8875 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002506/0.9106, allocations: 1.976 MB / 0.8894 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.224e-05/0.9106, allocations: 7.938 kB / 0.8895 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003224/0.9139, allocations: 1.983 MB / 0.8914 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.9139, allocations: 19.94 kB / 0.8914 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/0.914, allocations: 28 kB / 0.8914 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.914, allocations: 36.75 kB / 0.8915 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.9153, allocations: 395.3 kB / 0.8918 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.133e-05/0.9154, allocations: 51.8 kB / 0.8919 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.9167, allocations: 155.4 kB / 0.892 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.9168, allocations: 83.98 kB / 0.8921 GB, free: 8.629 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.0004547/0.9173, allocations: 287.6 kB / 0.8924 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.9176, allocations: 102.7 kB / 0.8925 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.9193, allocations: 1.1 MB / 0.8936 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.9193, allocations: 8.281 kB / 0.8936 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.9193, allocations: 5.969 kB / 0.8936 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.9194, allocations: 7.969 kB / 0.8936 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/0.9345, allocations: 10.17 MB / 0.9035 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/0.9346, allocations: 16 kB / 0.9035 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/0.9353, allocations: 191.6 kB / 0.9037 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.287e-05/0.9353, allocations: 20 kB / 0.9037 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.9354, allocations: 36.66 kB / 0.9038 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.811e-05/0.9354, allocations: 27.92 kB / 0.9038 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.846e-05/0.9355, allocations: 27.88 kB / 0.9038 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.938, allocations: 2.16 MB / 0.9059 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006874/0.9388, allocations: 323.6 kB / 0.9063 GB, free: 9.664 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.9389, allocations: 39.98 kB / 0.9063 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009809/0.9399, allocations: 91.88 kB / 0.9064 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.9401, allocations: 95.55 kB / 0.9065 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.9401, allocations: 44 kB / 0.9065 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00123/0.9414, allocations: 0.7658 MB / 0.9073 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9414, allocations: 0 / 0.9073 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003393/0.9448, allocations: 0.7227 MB / 0.908 GB, free: 7.898 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.0002517/0.945, allocations: 158.9 kB / 0.9081 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003991/0.949, allocations: 2.506 MB / 0.9106 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.9491, allocations: 5 kB / 0.9106 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008062/0.9499, allocations: 0.5793 MB / 0.9111 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.9521, allocations: 253.1 kB / 0.9114 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00736/0.9595, allocations: 4.417 MB / 0.9157 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/0.9615, allocations: 1.999 MB / 0.9176 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001953/0.9635, allocations: 0.8561 MB / 0.9185 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.9638, allocations: 87.41 kB / 0.9186 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of SimCode: time 9.12e-07/0.9638, allocations: 4 kB / 0.9186 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of Templates: time 0.02516/0.989, allocations: 14.33 MB / 0.9326 GB, free: 14.59 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)