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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001328/0.001328, allocations: 197 kB / 16.14 MB, free: 6.637 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002548/0.002548, allocations: 279.1 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 99.66 kB / 0.6057 GB, free: 25.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1629, allocations: 89.15 MB / 0.6928 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04473/0.2076, allocations: 36.9 MB / 0.7288 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02447/0.2322, allocations: 13.78 MB / 0.7423 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004377/0.2366, allocations: 99.62 kB / 0.7424 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006395/0.2431, allocations: 2.107 MB / 0.7444 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00451/0.2476, allocations: 1.351 MB / 0.7458 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00932/0.2569, allocations: 3.277 MB / 0.749 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01152/0.2685, allocations: 9.573 MB / 0.7583 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3008/0.5693, allocations: 11.21 MB / 0.7693 GB, free: 16.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004291/0.5737, allocations: 2.283 MB / 0.7715 GB, free: 16.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006205/0.5799, allocations: 3.292 MB / 0.7747 GB, free: 16.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001492/0.5814, allocations: 433.4 kB / 0.7751 GB, free: 16.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003149/0.5846, allocations: 1.254 MB / 0.7763 GB, free: 16.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003361/0.588, allocations: 2.279 MB / 0.7786 GB, free: 16.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00388/0.5918, allocations: 2.34 MB / 0.7809 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.6036, allocations: 9.008 MB / 0.7896 GB, free: 14.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.6036, allocations: 0 / 0.7896 GB, free: 14.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6036, allocations: 7.938 kB / 0.7897 GB, free: 14.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002737/0.6039, allocations: 0 / 0.7897 GB, free: 14.87 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.01206/0.616, allocations: 4.307 MB / 0.7939 GB, free: 13.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.616, allocations: 8.812 kB / 0.7939 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005297/0.6213, allocations: 1.032 MB / 0.7949 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005066/0.6264, allocations: 2.197 MB / 0.797 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.6267, allocations: 326.7 kB / 0.7973 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.6281, allocations: 430.7 kB / 0.7977 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/0.6419, allocations: 7.395 MB / 0.805 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-05/0.642, allocations: 18.22 kB / 0.805 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004998/0.6425, allocations: 185.4 kB / 0.8052 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002604/0.6427, allocations: 292.3 kB / 0.8054 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.6534, allocations: 6.018 MB / 0.8113 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04487/0.6983, allocations: 32.71 MB / 0.8433 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003874/0.7022, allocations: 2.146 MB / 0.8454 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.7041, allocations: 1.245 MB / 0.8466 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/0.7043, allocations: 107.6 kB / 0.8467 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.7043, allocations: 47.03 kB / 0.8467 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=98): time 2.795e-06/0.7043, allocations: 0 / 0.8467 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101): time 0.008804/0.7132, allocations: 5.272 MB / 0.8519 GB, free: 332 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/0.7133, allocations: 145.5 kB / 0.852 GB, free: 156 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.7156, allocations: 1.472 MB / 0.8534 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.7157, allocations: 41.7 kB / 0.8535 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.7172, allocations: 1.865 MB / 0.8553 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.7176, allocations: 373.5 kB / 0.8557 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000784/0.7184, allocations: 467 kB / 0.8561 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7186, allocations: 301.1 kB / 0.8564 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.7205, allocations: 1.153 MB / 0.8575 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/0.7235, allocations: 2.213 MB / 0.8597 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004816/0.7283, allocations: 3.431 MB / 0.863 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.7284, allocations: 8 kB / 0.863 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005833/0.7342, allocations: 3.373 MB / 0.8663 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/0.7343, allocations: 20 kB / 0.8664 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.371e-05/0.7343, allocations: 32 kB / 0.8664 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.152e-05/0.7344, allocations: 52.73 kB / 0.8664 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/0.7368, allocations: 0.6365 MB / 0.8671 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.905e-05/0.7369, allocations: 67.39 kB / 0.8671 GB, free: 40 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/0.7392, allocations: 335.7 kB / 0.8674 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.7394, allocations: 116 kB / 0.8676 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004624/0.744, allocations: 2.432 MB / 0.8699 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002665/0.7467, allocations: 2.039 MB / 0.8719 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004236/0.7509, allocations: 3.072 MB / 0.8749 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.471e-05/0.751, allocations: 8 kB / 0.8749 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.00525/0.7562, allocations: 2.985 MB / 0.8778 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.7563, allocations: 20 kB / 0.8779 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.561e-05/0.7563, allocations: 32 kB / 0.8779 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.737e-05/0.7564, allocations: 48 kB / 0.8779 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.7584, allocations: 0.5658 MB / 0.8785 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.907e-05/0.7584, allocations: 72.09 kB / 0.8786 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.7605, allocations: 262.9 kB / 0.8788 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/0.7607, allocations: 116 kB / 0.8789 GB, free: 3.336 MB / 0.6075 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.0006091/0.7614, allocations: 339.6 kB / 0.8792 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.7617, allocations: 154.1 kB / 0.8794 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003899/0.7657, allocations: 2.238 MB / 0.8816 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.7657, allocations: 12 kB / 0.8816 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.7657, allocations: 7.922 kB / 0.8816 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.7657, allocations: 3.984 kB / 0.8816 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/0.7841, allocations: 11 MB / 0.8923 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.7842, allocations: 12 kB / 0.8924 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.7857, allocations: 385.8 kB / 0.8927 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.014e-05/0.7857, allocations: 20 kB / 0.8927 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.073e-05/0.7858, allocations: 28 kB / 0.8928 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.369e-05/0.7859, allocations: 25.23 kB / 0.8928 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/0.7859, allocations: 17.25 kB / 0.8928 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/0.7898, allocations: 2.763 MB / 0.8955 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009215/0.7908, allocations: 450.9 kB / 0.8959 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.791, allocations: 39.84 kB / 0.896 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.7923, allocations: 175.7 kB / 0.8961 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.7926, allocations: 105.8 kB / 0.8962 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.7927, allocations: 36 kB / 0.8963 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00187/0.7945, allocations: 1.009 MB / 0.8973 GB, free: 292 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7945, allocations: 0 / 0.8973 GB, free: 292 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004601/0.7992, allocations: 1.141 MB / 0.8984 GB, free: 15.14 MB / 0.6387 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.0003192/0.7995, allocations: 148.3 kB / 0.8985 GB, free: 15 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00696/0.8065, allocations: 4.038 MB / 0.9025 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.8065, allocations: 0 / 0.9025 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.8081, allocations: 1.061 MB / 0.9035 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.8107, allocations: 407.9 kB / 0.9039 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.8251, allocations: 8.799 MB / 0.9125 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003603/0.8287, allocations: 2.864 MB / 0.9153 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003862/0.8326, allocations: 1.219 MB / 0.9165 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/0.8332, allocations: 127.1 kB / 0.9166 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.8332, allocations: 2.625 kB / 0.9166 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.0465/0.8797, allocations: 24.52 MB / 0.9405 GB, free: 4.391 MB / 0.67 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)