Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 104 kB / 16.35 MB, free: 5.824 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.001218/0.001218, allocations: 191.2 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 285.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9063/0.9063, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 95.56 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1578, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.3065/0.4643, allocations: 37.25 MB / 0.718 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02382/0.4882, allocations: 13.54 MB / 0.7312 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004484/0.4928, allocations: 113.8 kB / 0.7313 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006598/0.4995, allocations: 2.283 MB / 0.7335 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004771/0.5042, allocations: 1.407 MB / 0.7349 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009563/0.5138, allocations: 3.519 MB / 0.7384 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00925/0.5231, allocations: 6.383 MB / 0.7446 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.5349, allocations: 9.885 MB / 0.7542 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004397/0.5393, allocations: 2.735 MB / 0.7569 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004083/0.5434, allocations: 3.202 MB / 0.76 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009088/0.5443, allocations: 0.6211 MB / 0.7606 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/0.5465, allocations: 1.229 MB / 0.7618 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.5487, allocations: 2.476 MB / 0.7643 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.5513, allocations: 2.553 MB / 0.7668 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007424/0.5588, allocations: 9.142 MB / 0.7757 GB, free: 14.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.5588, allocations: 0 / 0.7757 GB, free: 14.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5588, allocations: 4 kB / 0.7757 GB, free: 14.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001661/0.559, allocations: 0 / 0.7757 GB, free: 14.95 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.007144/0.5661, allocations: 4.303 MB / 0.7799 GB, free: 10.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.5662, allocations: 8.031 kB / 0.7799 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/0.5697, allocations: 0.9443 MB / 0.7808 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/0.5736, allocations: 2.226 MB / 0.783 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.5738, allocations: 321 kB / 0.7833 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005982/0.5744, allocations: 428.3 kB / 0.7837 GB, free: 6.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.5848, allocations: 7.366 MB / 0.7909 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.423e-05/0.5849, allocations: 15.84 kB / 0.7909 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004097/0.5853, allocations: 184 kB / 0.7911 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002816/0.5856, allocations: 286.9 kB / 0.7914 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008789/0.5944, allocations: 5.963 MB / 0.7972 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03167/0.6261, allocations: 32.36 MB / 0.8288 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.629, allocations: 2.115 MB / 0.8309 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.6304, allocations: 1.233 MB / 0.8321 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.6306, allocations: 106 kB / 0.8322 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.6306, allocations: 55.55 kB / 0.8322 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=98): time 2.605e-06/0.6306, allocations: 4 kB / 0.8322 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=101): time 0.006335/0.637, allocations: 5.219 MB / 0.8373 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.6371, allocations: 149.4 kB / 0.8375 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.6386, allocations: 1.453 MB / 0.8389 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.581e-05/0.6387, allocations: 45.7 kB / 0.8389 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009825/0.6397, allocations: 1.859 MB / 0.8407 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.64, allocations: 367 kB / 0.8411 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005989/0.6406, allocations: 467 kB / 0.8415 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.6407, allocations: 301.1 kB / 0.8418 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.6421, allocations: 1.122 MB / 0.8429 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.6442, allocations: 2.176 MB / 0.845 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/0.6478, allocations: 3.407 MB / 0.8484 GB, free: 96 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/0.6478, allocations: 12 kB / 0.8484 GB, free: 84 kB / 0.6075 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004306/0.6522, allocations: 3.312 MB / 0.8516 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.6522, allocations: 20 kB / 0.8516 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/0.6522, allocations: 36 kB / 0.8517 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.755e-05/0.6523, allocations: 44 kB / 0.8517 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.6542, allocations: 0.6277 MB / 0.8523 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-05/0.6543, allocations: 71.72 kB / 0.8524 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.6558, allocations: 311 kB / 0.8527 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.656, allocations: 120 kB / 0.8528 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003041/0.659, allocations: 2.405 MB / 0.8551 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001804/0.6608, allocations: 2.008 MB / 0.8571 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003004/0.6638, allocations: 3.029 MB / 0.8601 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-05/0.6639, allocations: 12 kB / 0.8601 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.003789/0.6677, allocations: 2.917 MB / 0.8629 GB, free: 128 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.6677, allocations: 20 kB / 0.8629 GB, free: 108 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.6677, allocations: 36 kB / 0.863 GB, free: 72 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.394e-05/0.6678, allocations: 48.75 kB / 0.863 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.6694, allocations: 0.5577 MB / 0.8636 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.014e-05/0.6694, allocations: 71.67 kB / 0.8636 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.6709, allocations: 247 kB / 0.8639 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.671, allocations: 112 kB / 0.864 GB, free: 15.04 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0004692/0.6715, allocations: 339.3 kB / 0.8643 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.6718, allocations: 154.1 kB / 0.8645 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/0.6748, allocations: 2.223 MB / 0.8666 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.6748, allocations: 19.88 kB / 0.8666 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.6748, allocations: 3.984 kB / 0.8666 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.6748, allocations: 7.984 kB / 0.8667 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.6885, allocations: 10.98 MB / 0.8774 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.6885, allocations: 12 kB / 0.8774 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.6899, allocations: 387.3 kB / 0.8778 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/0.6899, allocations: 16.14 kB / 0.8778 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.349e-05/0.69, allocations: 31.98 kB / 0.8778 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/0.69, allocations: 19.94 kB / 0.8778 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.559e-05/0.6901, allocations: 19.92 kB / 0.8778 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002951/0.693, allocations: 2.763 MB / 0.8805 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008514/0.6939, allocations: 446.9 kB / 0.881 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.6941, allocations: 39.94 kB / 0.881 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009905/0.6951, allocations: 167.7 kB / 0.8812 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/0.6953, allocations: 92.23 kB / 0.8812 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-05/0.6954, allocations: 44 kB / 0.8813 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001238/0.6966, allocations: 0.9742 MB / 0.8822 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6967, allocations: 0 / 0.8822 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003533/0.7002, allocations: 1.129 MB / 0.8833 GB, free: 10.77 MB / 0.6544 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 (104): * Single equations (assignments): 104 * 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.0002428/0.7004, allocations: 146.9 kB / 0.8835 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005324/0.7058, allocations: 4.02 MB / 0.8874 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.7058, allocations: 0 / 0.8874 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.7071, allocations: 1.056 MB / 0.8884 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.7091, allocations: 454.6 kB / 0.8889 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009742/0.7189, allocations: 6.993 MB / 0.8957 GB, free: 13.97 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/0.7215, allocations: 2.864 MB / 0.8985 GB, free: 11.07 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002598/0.7241, allocations: 1.215 MB / 0.8997 GB, free: 9.852 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.7246, allocations: 115.4 kB / 0.8998 GB, free: 9.738 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/0.7246, allocations: 0 / 0.8998 GB, free: 9.738 MB / 0.67 GB Notification: Performance of Templates: time 0.03758/0.7622, allocations: 24.55 MB / 0.9238 GB, free: 1.426 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)