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.001141/0.001141, allocations: 108.6 kB / 15.99 MB, free: 6.367 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: 191.5 kB / 16.91 MB, free: 6.195 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.423/1.423, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.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.731/1.731, allocations: 292.3 MB / 0.5492 GB, free: 13.56 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.001484/0.001484, allocations: 66.95 kB / 0.6717 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2131, allocations: 114.6 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01898/0.2321, allocations: 16.6 MB / 0.7997 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.2422, allocations: 6.255 MB / 0.8058 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.2436, allocations: 39.88 kB / 0.8059 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.2472, allocations: 1.213 MB / 0.8071 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.2493, allocations: 0.7745 MB / 0.8078 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.2529, allocations: 1.434 MB / 0.8092 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004218/0.2571, allocations: 3.859 MB / 0.813 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008213/0.2654, allocations: 6.055 MB / 0.8189 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.2679, allocations: 1.652 MB / 0.8205 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003689/0.2717, allocations: 2.096 MB / 0.8226 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.2728, allocations: 380 kB / 0.8229 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.2747, allocations: 0.8192 MB / 0.8237 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001801/0.2765, allocations: 1.497 MB / 0.8252 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002143/0.2787, allocations: 1.533 MB / 0.8267 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004801/0.2835, allocations: 4.786 MB / 0.8314 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2836, allocations: 0 / 0.8314 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2836, allocations: 4 kB / 0.8314 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001466/0.2837, allocations: 0 / 0.8314 GB, free: 12.68 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.005894/0.2896, allocations: 2.722 MB / 0.834 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2897, allocations: 12.02 kB / 0.834 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003845/0.2935, allocations: 0.7744 MB / 0.8348 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.2964, allocations: 1.407 MB / 0.8362 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.2966, allocations: 189.5 kB / 0.8363 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006531/0.2973, allocations: 256.3 kB / 0.8366 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008004/0.3053, allocations: 4.584 MB / 0.8411 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.045e-05/0.3054, allocations: 11.92 kB / 0.8411 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/0.3057, allocations: 112 kB / 0.8412 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002107/0.3059, allocations: 176.2 kB / 0.8414 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006918/0.3129, allocations: 3.83 MB / 0.8451 GB, free: 14.31 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.026/0.3389, allocations: 21.42 MB / 0.866 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.3415, allocations: 2.247 MB / 0.8682 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.3426, allocations: 0.7312 MB / 0.8689 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 4.485e-05/0.3427, allocations: 11.98 kB / 0.8689 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.3427, allocations: 50.5 kB / 0.869 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=62): time 2.745e-06/0.3427, allocations: 0 / 0.869 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68): time 0.006043/0.3488, allocations: 4.19 MB / 0.8731 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/0.349, allocations: 247.2 kB / 0.8733 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.3507, allocations: 1.105 MB / 0.8744 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.3508, allocations: 41.7 kB / 0.8744 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008343/0.3516, allocations: 1.191 MB / 0.8756 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.3519, allocations: 256.6 kB / 0.8758 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004611/0.3524, allocations: 331 kB / 0.8762 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3525, allocations: 345.9 kB / 0.8765 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009519/0.3535, allocations: 0.7113 MB / 0.8772 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.3549, allocations: 1.399 MB / 0.8785 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.3572, allocations: 2.165 MB / 0.8807 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.3572, allocations: 8 kB / 0.8807 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003008/0.3602, allocations: 2.183 MB / 0.8828 GB, free: 4.625 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.3603, allocations: 15.94 kB / 0.8828 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.3603, allocations: 27.94 kB / 0.8828 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.085e-05/0.3604, allocations: 36 kB / 0.8829 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.3618, allocations: 432 kB / 0.8833 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-05/0.3618, allocations: 59.78 kB / 0.8833 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.363, allocations: 191.3 kB / 0.8835 GB, free: 3.879 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.3632, allocations: 83.98 kB / 0.8836 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002019/0.3652, allocations: 1.542 MB / 0.8851 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001212/0.3664, allocations: 1.325 MB / 0.8864 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002029/0.3684, allocations: 1.976 MB / 0.8883 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-05/0.3685, allocations: 8 kB / 0.8883 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002715/0.3712, allocations: 1.976 MB / 0.8903 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3712, allocations: 12 kB / 0.8903 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.3713, allocations: 32.12 kB / 0.8903 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.3713, allocations: 39.88 kB / 0.8904 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.3725, allocations: 391.3 kB / 0.8907 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-05/0.3725, allocations: 51.8 kB / 0.8908 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.3736, allocations: 151.5 kB / 0.8909 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.3737, allocations: 83.98 kB / 0.891 GB, free: 11.51 MB / 0.7169 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.0003623/0.3741, allocations: 288 kB / 0.8913 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.3744, allocations: 114.6 kB / 0.8914 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.3759, allocations: 1.092 MB / 0.8924 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.3759, allocations: 8 kB / 0.8925 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.376, allocations: 4 kB / 0.8925 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.376, allocations: 7.984 kB / 0.8925 GB, free: 9.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.3882, allocations: 10.17 MB / 0.9024 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/0.3883, allocations: 16.22 kB / 0.9024 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.389, allocations: 191.7 kB / 0.9026 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.988e-05/0.389, allocations: 20 kB / 0.9026 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.112e-05/0.3891, allocations: 35.94 kB / 0.9027 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-05/0.3891, allocations: 31.86 kB / 0.9027 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.421e-05/0.3891, allocations: 23.88 kB / 0.9027 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.3912, allocations: 2.166 MB / 0.9048 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004882/0.3917, allocations: 319.6 kB / 0.9051 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.3919, allocations: 31.98 kB / 0.9052 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009289/0.3928, allocations: 99.86 kB / 0.9053 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.393, allocations: 95.56 kB / 0.9053 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/0.393, allocations: 40 kB / 0.9054 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009884/0.394, allocations: 0.7697 MB / 0.9061 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.394, allocations: 0 / 0.9061 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002962/0.397, allocations: 0.7227 MB / 0.9068 GB, free: 10.76 MB / 0.7325 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.000273/0.3973, allocations: 166.8 kB / 0.907 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003577/0.4009, allocations: 2.514 MB / 0.9095 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.4009, allocations: 7.938 kB / 0.9095 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007585/0.4017, allocations: 0.5726 MB / 0.91 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.4037, allocations: 260.1 kB / 0.9103 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007954/0.4117, allocations: 5.907 MB / 0.916 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3606/0.7723, allocations: 2.059 MB / 0.918 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005756/0.7729, allocations: 100.8 kB / 0.9181 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/0.773, allocations: 0 / 0.9181 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.04817/0.8211, allocations: 25.06 MB / 0.9426 GB, free: 120 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)