Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001691/0.00169, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002029/0.002029, allocations: 191.3 kB / 16.25 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.524/1.524, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00256/0.002561, allocations: 278.5 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.051/1.051, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 105.7 kB / 0.6059 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1699, allocations: 89.15 MB / 0.693 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02632/0.1962, allocations: 20.26 MB / 0.7128 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01424/0.2105, allocations: 7.615 MB / 0.7202 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.2125, allocations: 55.81 kB / 0.7203 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003592/0.2161, allocations: 1.258 MB / 0.7215 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002986/0.2191, allocations: 0.9263 MB / 0.7224 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004663/0.2238, allocations: 1.85 MB / 0.7242 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00526/0.2291, allocations: 4.347 MB / 0.7285 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01069/0.2398, allocations: 7.316 MB / 0.7356 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.2429, allocations: 1.874 MB / 0.7374 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003522/0.2464, allocations: 2.314 MB / 0.7397 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.2475, allocations: 428 kB / 0.7401 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.2498, allocations: 0.9324 MB / 0.741 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002252/0.2521, allocations: 1.657 MB / 0.7426 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00249/0.2546, allocations: 1.712 MB / 0.7443 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007302/0.2619, allocations: 6.202 MB / 0.7504 GB, free: 9.785 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.2619, allocations: 0 / 0.7504 GB, free: 9.785 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2619, allocations: 0 / 0.7504 GB, free: 9.785 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002096/0.2621, allocations: 0 / 0.7504 GB, free: 9.785 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.008223/0.2704, allocations: 3.044 MB / 0.7533 GB, free: 6.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.2704, allocations: 11.97 kB / 0.7533 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003753/0.2742, allocations: 0.7507 MB / 0.7541 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.277, allocations: 1.544 MB / 0.7556 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.2772, allocations: 214.2 kB / 0.7558 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005054/0.2777, allocations: 284.4 kB / 0.7561 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2879/0.5656, allocations: 5.074 MB / 0.761 GB, free: 62.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.874e-05/0.5657, allocations: 15.31 kB / 0.761 GB, free: 62.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003245/0.566, allocations: 124.3 kB / 0.7611 GB, free: 62.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002855/0.5663, allocations: 209.9 kB / 0.7613 GB, free: 62.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007094/0.5734, allocations: 4.229 MB / 0.7655 GB, free: 61.56 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01977/0.5932, allocations: 23.08 MB / 0.788 GB, free: 43.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.5957, allocations: 1.728 MB / 0.7897 GB, free: 42.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.5971, allocations: 1.146 MB / 0.7908 GB, free: 42.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.5972, allocations: 102.1 kB / 0.7909 GB, free: 42.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.5972, allocations: 48 kB / 0.791 GB, free: 42.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 2.986e-06/0.5973, allocations: 0 / 0.791 GB, free: 42.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=87): time 0.005088/0.6023, allocations: 4.005 MB / 0.7949 GB, free: 39.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.6024, allocations: 145.7 kB / 0.795 GB, free: 39.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009489/0.6034, allocations: 0.8639 MB / 0.7959 GB, free: 39.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/0.6035, allocations: 42.92 kB / 0.7959 GB, free: 38.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.6039, allocations: 1.156 MB / 0.797 GB, free: 37.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.6041, allocations: 311.5 kB / 0.7973 GB, free: 37.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004167/0.6045, allocations: 279.3 kB / 0.7976 GB, free: 37.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6046, allocations: 412.6 kB / 0.798 GB, free: 37.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.6059, allocations: 0.82 MB / 0.7988 GB, free: 36.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.6073, allocations: 1.312 MB / 0.8001 GB, free: 35.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002393/0.6097, allocations: 2.172 MB / 0.8022 GB, free: 34.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.6097, allocations: 8.094 kB / 0.8022 GB, free: 34.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003122/0.6128, allocations: 2.204 MB / 0.8043 GB, free: 33.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.6129, allocations: 14.48 kB / 0.8044 GB, free: 33.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.6129, allocations: 14.16 kB / 0.8044 GB, free: 33.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/0.6129, allocations: 21.25 kB / 0.8044 GB, free: 33.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.6145, allocations: 417.1 kB / 0.8048 GB, free: 32.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-05/0.6146, allocations: 32.3 kB / 0.8048 GB, free: 32.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.6158, allocations: 211 kB / 0.805 GB, free: 32.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.6159, allocations: 67.38 kB / 0.8051 GB, free: 32.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002169/0.6181, allocations: 1.683 MB / 0.8067 GB, free: 31.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001293/0.6194, allocations: 1.19 MB / 0.8079 GB, free: 30.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002281/0.6217, allocations: 1.893 MB / 0.8097 GB, free: 29.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.047e-06/0.6217, allocations: 11.78 kB / 0.8098 GB, free: 29.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.00268/0.6244, allocations: 1.929 MB / 0.8116 GB, free: 28.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6244, allocations: 13.38 kB / 0.8116 GB, free: 28.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.6244, allocations: 15.12 kB / 0.8117 GB, free: 28.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.6245, allocations: 26 kB / 0.8117 GB, free: 28.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.6257, allocations: 368.9 kB / 0.812 GB, free: 28.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.701e-05/0.6258, allocations: 33.7 kB / 0.8121 GB, free: 28.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.6269, allocations: 173.7 kB / 0.8122 GB, free: 28.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.96e-05/0.627, allocations: 63.48 kB / 0.8123 GB, free: 28.16 MB / 0.545 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.0002805/0.6273, allocations: 264.4 kB / 0.8125 GB, free: 27.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.6275, allocations: 100.1 kB / 0.8126 GB, free: 27.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.6298, allocations: 1.852 MB / 0.8145 GB, free: 26.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.6299, allocations: 9.312 kB / 0.8145 GB, free: 26.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.6299, allocations: 3.969 kB / 0.8145 GB, free: 26.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6299, allocations: 7.984 kB / 0.8145 GB, free: 26.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009112/0.639, allocations: 9.583 MB / 0.8238 GB, free: 19.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.639, allocations: 12 kB / 0.8238 GB, free: 19.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.6401, allocations: 319.5 kB / 0.8241 GB, free: 19.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.6401, allocations: 19.94 kB / 0.8242 GB, free: 19.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/0.6402, allocations: 35.98 kB / 0.8242 GB, free: 19.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.6402, allocations: 15.94 kB / 0.8242 GB, free: 19.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.6402, allocations: 19.94 kB / 0.8242 GB, free: 19.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.6421, allocations: 2.401 MB / 0.8266 GB, free: 16.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/0.6425, allocations: 375.6 kB / 0.8269 GB, free: 16.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.6427, allocations: 43.86 kB / 0.827 GB, free: 16.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009044/0.6436, allocations: 139.8 kB / 0.8271 GB, free: 16.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.6438, allocations: 91.67 kB / 0.8272 GB, free: 16.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-05/0.6439, allocations: 35.94 kB / 0.8272 GB, free: 16.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006656/0.6445, allocations: 0.6122 MB / 0.8278 GB, free: 15.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6445, allocations: 0 / 0.8278 GB, free: 15.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002127/0.6467, allocations: 0.7539 MB / 0.8286 GB, free: 14.83 MB / 0.545 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.0002049/0.6469, allocations: 147 kB / 0.8287 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00347/0.6504, allocations: 3.05 MB / 0.8317 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.41e-05/0.6504, allocations: 0 / 0.8317 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009667/0.6514, allocations: 0.9074 MB / 0.8326 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.653, allocations: 320.2 kB / 0.8329 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/0.6587, allocations: 6.211 MB / 0.8389 GB, free: 4.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.66, allocations: 2.129 MB / 0.841 GB, free: 1.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001587/0.6616, allocations: 0.7465 MB / 0.8418 GB, free: 1.184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.662, allocations: 87.36 kB / 0.8418 GB, free: 1.098 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.662, allocations: 0 / 0.8418 GB, free: 1.098 MB / 0.545 GB Notification: Performance of Templates: time 0.03092/0.6929, allocations: 17.84 MB / 0.8593 GB, free: 15.48 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)