Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 101.2 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.001672/0.001672, allocations: 195.6 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.389/1.389, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.708/1.708, allocations: 292.3 MB / 0.5492 GB, free: 13.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.001917/0.001917, allocations: 71.64 kB / 0.6717 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.27, allocations: 114.6 MB / 0.7835 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02382/0.2939, allocations: 20.26 MB / 0.8033 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.3075, allocations: 7.495 MB / 0.8106 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.31, allocations: 51.81 kB / 0.8107 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.314, allocations: 1.26 MB / 0.8119 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.3176, allocations: 0.903 MB / 0.8128 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00654/0.3241, allocations: 1.856 MB / 0.8146 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005809/0.33, allocations: 4.347 MB / 0.8189 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/0.342, allocations: 7.322 MB / 0.826 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.3455, allocations: 1.858 MB / 0.8278 GB, free: 316 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004039/0.3496, allocations: 2.318 MB / 0.8301 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00152/0.3511, allocations: 428 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.354, allocations: 0.9128 MB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003066/0.3571, allocations: 1.657 MB / 0.833 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003852/0.361, allocations: 1.708 MB / 0.8347 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005497/0.3665, allocations: 5.304 MB / 0.8399 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3666, allocations: 0 / 0.8399 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3666, allocations: 0 / 0.8399 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001829/0.3668, allocations: 0 / 0.8399 GB, free: 3.961 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.008207/0.375, allocations: 3.04 MB / 0.8428 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.375, allocations: 12.03 kB / 0.8428 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/0.3786, allocations: 0.6805 MB / 0.8435 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.3816, allocations: 1.54 MB / 0.845 GB, free: 14.58 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.3819, allocations: 214.2 kB / 0.8452 GB, free: 14.37 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008825/0.3828, allocations: 292.3 kB / 0.8455 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/0.394, allocations: 5.039 MB / 0.8504 GB, free: 8.855 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/0.3942, allocations: 15.84 kB / 0.8504 GB, free: 8.84 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008658/0.395, allocations: 128 kB / 0.8505 GB, free: 8.715 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003269/0.3954, allocations: 208.6 kB / 0.8507 GB, free: 8.508 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009115/0.4045, allocations: 4.177 MB / 0.8548 GB, free: 4.316 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03065/0.4352, allocations: 23.02 MB / 0.8773 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.4383, allocations: 1.712 MB / 0.879 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.44, allocations: 1.122 MB / 0.8801 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.4402, allocations: 105.7 kB / 0.8802 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.4403, allocations: 47.16 kB / 0.8802 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 3.557e-06/0.4403, allocations: 0 / 0.8802 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.007195/0.4475, allocations: 3.993 MB / 0.8841 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/0.4476, allocations: 145.1 kB / 0.8842 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.4489, allocations: 0.8409 MB / 0.8851 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001813/0.4491, allocations: 45.7 kB / 0.8851 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007616/0.4499, allocations: 1.158 MB / 0.8862 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/0.4503, allocations: 319.5 kB / 0.8865 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006433/0.4509, allocations: 274.5 kB / 0.8868 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.4512, allocations: 418.6 kB / 0.8872 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.4525, allocations: 0.7984 MB / 0.888 GB, free: 16 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.4542, allocations: 1.291 MB / 0.8892 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002905/0.4571, allocations: 2.14 MB / 0.8913 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.4572, allocations: 4 kB / 0.8913 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003759/0.4609, allocations: 2.164 MB / 0.8935 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.461, allocations: 8 kB / 0.8935 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.4611, allocations: 24.06 kB / 0.8935 GB, free: 9.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-05/0.4611, allocations: 20 kB / 0.8935 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.4628, allocations: 411.3 kB / 0.8939 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-05/0.4629, allocations: 31.92 kB / 0.8939 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.4643, allocations: 195.3 kB / 0.8941 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/0.4645, allocations: 59.98 kB / 0.8942 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002717/0.4672, allocations: 1.662 MB / 0.8958 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001511/0.4688, allocations: 1.166 MB / 0.8969 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002512/0.4713, allocations: 1.87 MB / 0.8988 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.81e-05/0.4714, allocations: 11.94 kB / 0.8988 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003431/0.4748, allocations: 1.883 MB / 0.9006 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.4749, allocations: 12 kB / 0.9006 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/0.4749, allocations: 19.98 kB / 0.9006 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.4749, allocations: 24 kB / 0.9007 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.4764, allocations: 351.4 kB / 0.901 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-05/0.4764, allocations: 32.23 kB / 0.901 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.4777, allocations: 175.3 kB / 0.9012 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.4779, allocations: 52 kB / 0.9012 GB, free: 1.547 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0005426/0.4785, allocations: 271.8 kB / 0.9015 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.4789, allocations: 98.78 kB / 0.9016 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/0.4819, allocations: 1.835 MB / 0.9034 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.482, allocations: 12 kB / 0.9034 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-06/0.482, allocations: 0 / 0.9034 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.482, allocations: 3.984 kB / 0.9034 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.4963, allocations: 9.584 MB / 0.9128 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/0.4964, allocations: 12 kB / 0.9128 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.4977, allocations: 312.3 kB / 0.9131 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.857e-05/0.4978, allocations: 23.94 kB / 0.9131 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.4979, allocations: 31.98 kB / 0.9131 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.659e-05/0.498, allocations: 31.81 kB / 0.9132 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/0.498, allocations: 19.94 kB / 0.9132 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/0.5013, allocations: 2.398 MB / 0.9155 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008053/0.5021, allocations: 371.6 kB / 0.9159 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.5025, allocations: 28.12 kB / 0.9159 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.5036, allocations: 143.7 kB / 0.916 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.5039, allocations: 95.39 kB / 0.9161 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-05/0.504, allocations: 36 kB / 0.9162 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009229/0.5049, allocations: 0.5927 MB / 0.9167 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5049, allocations: 0 / 0.9167 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003118/0.508, allocations: 0.75 MB / 0.9175 GB, free: 496 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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.0003969/0.5085, allocations: 146.9 kB / 0.9176 GB, free: 340 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3991/0.9075, allocations: 2.987 MB / 0.9205 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.995e-05/0.9076, allocations: 2.125 kB / 0.9205 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.9092, allocations: 0.916 MB / 0.9214 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.9113, allocations: 305.8 kB / 0.9217 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009056/0.9204, allocations: 6.649 MB / 0.9282 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/0.9227, allocations: 2.198 MB / 0.9304 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006143/0.9234, allocations: 97.25 kB / 0.9304 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.9234, allocations: 3.656 kB / 0.9305 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.0521/0.9755, allocations: 27.73 MB / 0.9575 GB, free: 115.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)