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.001165/0.001165, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001298/0.001298, allocations: 187.3 kB / 16.25 MB, free: 6.145 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.567/1.567, allocations: 205.1 MB / 222.1 MB, free: 4.566 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.733/1.733, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001402/0.001402, allocations: 73.38 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.283, allocations: 114.6 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01942/0.3025, allocations: 16.6 MB / 0.7991 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.3131, allocations: 6.255 MB / 0.8052 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.3148, allocations: 43.81 kB / 0.8052 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.3182, allocations: 1.203 MB / 0.8064 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.3208, allocations: 0.7707 MB / 0.8072 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004892/0.3257, allocations: 1.449 MB / 0.8086 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005036/0.3307, allocations: 3.851 MB / 0.8123 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009664/0.3404, allocations: 6.055 MB / 0.8182 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.3437, allocations: 1.656 MB / 0.8199 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.3471, allocations: 2.104 MB / 0.8219 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.3483, allocations: 380 kB / 0.8223 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.3506, allocations: 0.8153 MB / 0.8231 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002646/0.3533, allocations: 1.501 MB / 0.8245 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003244/0.3566, allocations: 1.533 MB / 0.826 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006229/0.3628, allocations: 5.547 MB / 0.8315 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.3629, allocations: 4 kB / 0.8315 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3629, allocations: 0 / 0.8315 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001837/0.3631, allocations: 0 / 0.8315 GB, free: 11.91 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.006924/0.37, allocations: 2.718 MB / 0.8341 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.3701, allocations: 19.97 kB / 0.8341 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/0.3738, allocations: 0.7705 MB / 0.8349 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.3763, allocations: 1.407 MB / 0.8363 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.3765, allocations: 189.5 kB / 0.8364 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004103/0.3769, allocations: 252.3 kB / 0.8367 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007635/0.3845, allocations: 4.584 MB / 0.8412 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-05/0.3846, allocations: 7.938 kB / 0.8412 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/0.3849, allocations: 112 kB / 0.8413 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001931/0.3851, allocations: 172.3 kB / 0.8414 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005879/0.391, allocations: 3.839 MB / 0.8452 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02523/0.4162, allocations: 21.42 MB / 0.8661 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/0.4192, allocations: 2.253 MB / 0.8683 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.4202, allocations: 0.7269 MB / 0.869 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.4203, allocations: 15.98 kB / 0.869 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.812e-05/0.4204, allocations: 46.5 kB / 0.8691 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=62): time 2.705e-06/0.4204, allocations: 0 / 0.8691 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68): time 0.006262/0.4266, allocations: 4.187 MB / 0.8732 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.4268, allocations: 248.4 kB / 0.8734 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.4284, allocations: 1.116 MB / 0.8745 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.4286, allocations: 37.7 kB / 0.8745 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008275/0.4294, allocations: 1.195 MB / 0.8757 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.4297, allocations: 252.6 kB / 0.8759 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004796/0.4301, allocations: 323.1 kB / 0.8762 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4303, allocations: 345.9 kB / 0.8766 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009656/0.4313, allocations: 0.7074 MB / 0.8773 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.4328, allocations: 1.411 MB / 0.8786 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/0.4352, allocations: 2.161 MB / 0.8807 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.4353, allocations: 11.98 kB / 0.8808 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003264/0.4385, allocations: 2.18 MB / 0.8829 GB, free: 3.859 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.4386, allocations: 20.12 kB / 0.8829 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.806e-05/0.4386, allocations: 28 kB / 0.8829 GB, free: 3.812 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/0.4387, allocations: 32 kB / 0.883 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.4401, allocations: 431.2 kB / 0.8834 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.96e-05/0.4401, allocations: 47.8 kB / 0.8834 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.4414, allocations: 195.3 kB / 0.8836 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.4415, allocations: 83.98 kB / 0.8837 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002504/0.444, allocations: 1.546 MB / 0.8852 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001381/0.4454, allocations: 1.325 MB / 0.8865 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002488/0.4479, allocations: 1.972 MB / 0.8884 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.356e-05/0.4479, allocations: 8 kB / 0.8884 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003032/0.451, allocations: 1.976 MB / 0.8904 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.451, allocations: 16 kB / 0.8904 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.451, allocations: 24 kB / 0.8904 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.043e-05/0.4511, allocations: 39.94 kB / 0.8904 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.4523, allocations: 395.2 kB / 0.8908 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.983e-05/0.4523, allocations: 51.84 kB / 0.8909 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.4535, allocations: 155.7 kB / 0.891 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.4537, allocations: 91.98 kB / 0.8911 GB, free: 10.74 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.0004337/0.4541, allocations: 283.9 kB / 0.8914 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.4544, allocations: 110.6 kB / 0.8915 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.4559, allocations: 1.092 MB / 0.8925 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.4559, allocations: 12.22 kB / 0.8925 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.456, allocations: 8 kB / 0.8926 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.456, allocations: 7.969 kB / 0.8926 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.4686, allocations: 10.18 MB / 0.9025 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.4686, allocations: 16 kB / 0.9025 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/0.4693, allocations: 187.7 kB / 0.9027 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.925e-05/0.4693, allocations: 20 kB / 0.9027 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.4694, allocations: 32 kB / 0.9027 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.217e-05/0.4694, allocations: 31.86 kB / 0.9028 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-05/0.4694, allocations: 23.88 kB / 0.9028 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.4717, allocations: 2.159 MB / 0.9049 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.4722, allocations: 323.5 kB / 0.9052 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.4723, allocations: 35.98 kB / 0.9053 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009153/0.4732, allocations: 91.88 kB / 0.9053 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.4734, allocations: 107.5 kB / 0.9054 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.4734, allocations: 40 kB / 0.9055 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00102/0.4745, allocations: 0.7658 MB / 0.9062 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4745, allocations: 4 kB / 0.9062 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002968/0.4774, allocations: 0.7227 MB / 0.9069 GB, free: 9.988 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.0002369/0.4777, allocations: 158.7 kB / 0.9071 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003645/0.4813, allocations: 2.519 MB / 0.9096 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.4814, allocations: 4 kB / 0.9096 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007276/0.4821, allocations: 0.5733 MB / 0.9101 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.484, allocations: 248.7 kB / 0.9104 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007636/0.4916, allocations: 5.491 MB / 0.9157 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4223/0.914, allocations: 2.006 MB / 0.9177 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002916/0.917, allocations: 0.8472 MB / 0.9185 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/0.9173, allocations: 91.42 kB / 0.9186 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/0.9173, allocations: 0 / 0.9186 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.03505/0.9524, allocations: 14.32 MB / 0.9326 GB, free: 125.2 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)