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.0007876/0.0007875, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004681/0.004681, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001727/0.001727, allocations: 270.9 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.937/0.937, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.000407, allocations: 13.17 kB / 0.5987 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1553, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03626/0.1916, allocations: 36.01 MB / 0.7203 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02076/0.2124, allocations: 13.47 MB / 0.7335 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002836/0.2153, allocations: 95.62 kB / 0.7335 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.2167, allocations: 0.5973 MB / 0.7341 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.2198, allocations: 1.331 MB / 0.7354 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.2242, allocations: 1.932 MB / 0.7373 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008882/0.233, allocations: 9.573 MB / 0.7467 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01596/0.249, allocations: 11.93 MB / 0.7583 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.2522, allocations: 1.829 MB / 0.7601 GB, free: 2.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3064/0.5585, allocations: 2.711 MB / 0.7628 GB, free: 26.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.5598, allocations: 253.2 kB / 0.763 GB, free: 26.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.5625, allocations: 1.046 MB / 0.764 GB, free: 26.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002619/0.5652, allocations: 1.996 MB / 0.766 GB, free: 26.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002794/0.568, allocations: 2.021 MB / 0.7679 GB, free: 26.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.5788, allocations: 8.672 MB / 0.7764 GB, free: 25.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5788, allocations: 0 / 0.7764 GB, free: 25.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5788, allocations: 3.938 kB / 0.7764 GB, free: 25.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002156/0.5791, allocations: 0.9375 kB / 0.7764 GB, free: 25.4 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.007359/0.5864, allocations: 3.395 MB / 0.7797 GB, free: 23.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.5865, allocations: 10.81 kB / 0.7797 GB, free: 23.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004192/0.5907, allocations: 0.9477 MB / 0.7807 GB, free: 23.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003734/0.5944, allocations: 2.184 MB / 0.7828 GB, free: 23.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.5947, allocations: 325.1 kB / 0.7831 GB, free: 23.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009419/0.5956, allocations: 427.6 kB / 0.7835 GB, free: 23.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.61, allocations: 7.372 MB / 0.7907 GB, free: 22.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.6101, allocations: 14.28 kB / 0.7907 GB, free: 22.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004915/0.6106, allocations: 181.5 kB / 0.7909 GB, free: 22.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003529/0.611, allocations: 288.3 kB / 0.7912 GB, free: 22.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.6228, allocations: 5.965 MB / 0.797 GB, free: 21.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0359/0.6587, allocations: 32.64 MB / 0.8289 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.6617, allocations: 2.115 MB / 0.8309 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.6631, allocations: 1.229 MB / 0.8321 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.6633, allocations: 110.7 kB / 0.8322 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.6633, allocations: 50.45 kB / 0.8323 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=98): time 2.825e-06/0.6633, allocations: 0 / 0.8323 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=101): time 0.007066/0.6704, allocations: 5.237 MB / 0.8374 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.6705, allocations: 149.7 kB / 0.8375 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.6722, allocations: 1.451 MB / 0.839 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.6724, allocations: 44.17 kB / 0.839 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.6734, allocations: 1.861 MB / 0.8408 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/0.6737, allocations: 380.6 kB / 0.8412 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.674, allocations: 166.1 kB / 0.8413 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.6741, allocations: 303.5 kB / 0.8416 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.6755, allocations: 1.11 MB / 0.8427 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.6776, allocations: 2.191 MB / 0.8449 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003597/0.6812, allocations: 3.401 MB / 0.8482 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/0.6813, allocations: 8.75 kB / 0.8482 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004826/0.6861, allocations: 3.315 MB / 0.8514 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007081/0.6868, allocations: 1.096 MB / 0.8525 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.034e-05/0.6869, allocations: 40 kB / 0.8525 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-05/0.6869, allocations: 48 kB / 0.8526 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.6891, allocations: 0.6143 MB / 0.8532 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-05/0.6892, allocations: 71.62 kB / 0.8532 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.6911, allocations: 306.7 kB / 0.8535 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.6913, allocations: 112 kB / 0.8536 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.515e-06/0.6913, allocations: 4 kB / 0.8536 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003797/0.6951, allocations: 2.759 MB / 0.8563 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/0.6952, allocations: 39.98 kB / 0.8564 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.349e-05/0.6952, allocations: 48 kB / 0.8564 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.6969, allocations: 0.5468 MB / 0.857 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.221e-05/0.697, allocations: 68.94 kB / 0.857 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.6985, allocations: 223.1 kB / 0.8572 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.6987, allocations: 112 kB / 0.8573 GB, free: 3.715 MB / 0.5762 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.003308/0.702, allocations: 1.713 MB / 0.859 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003959/0.7024, allocations: 154.1 kB / 0.8592 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/0.7057, allocations: 2.23 MB / 0.8613 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.7058, allocations: 12 kB / 0.8614 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.7058, allocations: 8 kB / 0.8614 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.7058, allocations: 11.92 kB / 0.8614 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.7211, allocations: 10.97 MB / 0.8721 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.7211, allocations: 16.25 kB / 0.8721 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.7226, allocations: 388.3 kB / 0.8725 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.3e-05/0.7227, allocations: 19.94 kB / 0.8725 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-05/0.7228, allocations: 28 kB / 0.8725 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.661e-05/0.7228, allocations: 22.28 kB / 0.8725 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/0.7228, allocations: 15.75 kB / 0.8726 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/0.726, allocations: 2.771 MB / 0.8753 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007868/0.7268, allocations: 474.7 kB / 0.8757 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.727, allocations: 28 kB / 0.8757 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.7282, allocations: 167.7 kB / 0.8759 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.7284, allocations: 99.61 kB / 0.876 GB, free: 352 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/0.7285, allocations: 43.98 kB / 0.876 GB, free: 308 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00132/0.7298, allocations: 0.9742 MB / 0.877 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7298, allocations: 0 / 0.877 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003916/0.7337, allocations: 1.125 MB / 0.8781 GB, free: 14.2 MB / 0.6075 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.0002356/0.734, allocations: 145.2 kB / 0.8782 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005697/0.7397, allocations: 3.981 MB / 0.8821 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.7397, allocations: 4 kB / 0.8821 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.7411, allocations: 1.063 MB / 0.8832 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004465/0.7456, allocations: 426.3 kB / 0.8836 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.758, allocations: 8.807 MB / 0.8922 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00298/0.761, allocations: 2.864 MB / 0.895 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003383/0.7644, allocations: 1.204 MB / 0.8961 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.7649, allocations: 119.4 kB / 0.8962 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.392e-06/0.7649, allocations: 4 kB / 0.8963 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.04181/0.8068, allocations: 23.37 MB / 0.9191 GB, free: 4.648 MB / 0.6387 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)