Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.332/2.332, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 187.4 kB / 499.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 105.8 kB / 0.9329 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 52.25 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2836, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01655/0.3002, allocations: 16.6 MB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.008854/0.3091, allocations: 6.286 MB / 1.24 GB, free: 94.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.311, allocations: 43.88 kB / 1.24 GB, free: 94.15 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.3141, allocations: 1.202 MB / 1.242 GB, free: 92.95 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.3164, allocations: 0.794 MB / 1.242 GB, free: 92.15 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.32, allocations: 1.43 MB / 1.244 GB, free: 90.72 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00464/0.3246, allocations: 5.817 MB / 1.25 GB, free: 84.89 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007206/0.3318, allocations: 5.588 MB / 1.255 GB, free: 79.25 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.3343, allocations: 1.386 MB / 1.256 GB, free: 77.86 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003255/0.3376, allocations: 2.029 MB / 1.258 GB, free: 75.82 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.3388, allocations: 260 kB / 1.259 GB, free: 75.57 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.3411, allocations: 0.8385 MB / 1.259 GB, free: 74.73 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.00185/0.343, allocations: 1.372 MB / 1.261 GB, free: 73.35 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.3445, allocations: 1.404 MB / 1.262 GB, free: 71.94 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.349, allocations: 5.457 MB / 1.267 GB, free: 66.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.349, allocations: 0 / 1.267 GB, free: 66.47 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.804e-06/0.349, allocations: 3.938 kB / 1.267 GB, free: 66.46 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001489/0.3492, allocations: 0 / 1.267 GB, free: 66.46 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.005322/0.3545, allocations: 2.726 MB / 1.27 GB, free: 63.68 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3546, allocations: 11.98 kB / 1.27 GB, free: 63.67 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/0.3579, allocations: 0.7705 MB / 1.271 GB, free: 62.89 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.3606, allocations: 1.404 MB / 1.272 GB, free: 61.45 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.793e-05/0.3607, allocations: 197.5 kB / 1.272 GB, free: 61.25 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.3611, allocations: 260.2 kB / 1.273 GB, free: 61 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005792/0.3669, allocations: 4.584 MB / 1.277 GB, free: 56.21 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.117e-05/0.367, allocations: 7.938 kB / 1.277 GB, free: 56.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002439/0.3672, allocations: 108 kB / 1.277 GB, free: 56.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.3674, allocations: 180.3 kB / 1.277 GB, free: 55.92 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005138/0.3726, allocations: 3.835 MB / 1.281 GB, free: 52.07 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01739/0.39, allocations: 21.43 MB / 1.302 GB, free: 28.75 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.392, allocations: 2.248 MB / 1.304 GB, free: 26.21 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007727/0.3928, allocations: 0.7191 MB / 1.305 GB, free: 25.47 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.3928, allocations: 11.98 kB / 1.305 GB, free: 25.46 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3928, allocations: 50.5 kB / 1.305 GB, free: 25.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=62): time 3.717e-06/0.3928, allocations: 0 / 1.305 GB, free: 25.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=68): time 0.004484/0.3973, allocations: 4.19 MB / 1.309 GB, free: 21.16 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.3974, allocations: 247.4 kB / 1.309 GB, free: 20.86 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.3985, allocations: 1.116 MB / 1.31 GB, free: 19.72 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.3986, allocations: 33.7 kB / 1.31 GB, free: 19.68 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.3991, allocations: 1.191 MB / 1.312 GB, free: 18.47 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.3992, allocations: 248.6 kB / 1.312 GB, free: 18.23 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/0.3996, allocations: 331.1 kB / 1.312 GB, free: 17.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.3997, allocations: 353.8 kB / 1.313 GB, free: 17.55 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007646/0.4005, allocations: 0.7113 MB / 1.313 GB, free: 16.83 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009856/0.4015, allocations: 1.403 MB / 1.315 GB, free: 15.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.4032, allocations: 2.152 MB / 1.317 GB, free: 12.62 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.4032, allocations: 4 kB / 1.317 GB, free: 12.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002436/0.4056, allocations: 2.191 MB / 1.319 GB, free: 10.41 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.4057, allocations: 25.28 kB / 1.319 GB, free: 10.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.4057, allocations: 24 kB / 1.319 GB, free: 10.37 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.504e-05/0.4057, allocations: 32 kB / 1.319 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.4071, allocations: 431.2 kB / 1.319 GB, free: 9.914 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.159e-05/0.4072, allocations: 43.86 kB / 1.319 GB, free: 9.871 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.4083, allocations: 199.5 kB / 1.32 GB, free: 9.676 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.572e-05/0.4084, allocations: 83.92 kB / 1.32 GB, free: 9.594 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001886/0.4103, allocations: 1.55 MB / 1.321 GB, free: 8.039 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008947/0.4112, allocations: 1.322 MB / 1.322 GB, free: 6.367 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001455/0.4127, allocations: 1.979 MB / 1.324 GB, free: 4.035 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.466e-06/0.4127, allocations: 8 kB / 1.324 GB, free: 4.027 MB / 0.823 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002221/0.4149, allocations: 1.98 MB / 1.326 GB, free: 2.039 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.415, allocations: 16 kB / 1.326 GB, free: 2.023 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.415, allocations: 24 kB / 1.326 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.415, allocations: 39.94 kB / 1.326 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.4161, allocations: 391.9 kB / 1.327 GB, free: 1.578 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.718e-05/0.4161, allocations: 51.8 kB / 1.327 GB, free: 1.527 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009673/0.4171, allocations: 159.4 kB / 1.327 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/0.4172, allocations: 83.98 kB / 1.327 GB, free: 1.289 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.0003055/0.4175, allocations: 288.2 kB / 1.327 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.4177, allocations: 107 kB / 1.327 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.4191, allocations: 1.095 MB / 1.329 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.4192, allocations: 15.98 kB / 1.329 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4192, allocations: 0 / 1.329 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4192, allocations: 7.984 kB / 1.329 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.433, allocations: 10.18 MB / 1.338 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.4331, allocations: 16 kB / 1.338 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/0.4338, allocations: 191.6 kB / 1.339 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/0.4338, allocations: 20 kB / 1.339 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.4339, allocations: 32.72 kB / 1.339 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.141e-05/0.4339, allocations: 31.86 kB / 1.339 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.701e-05/0.4339, allocations: 31.88 kB / 1.339 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.4372, allocations: 3.521 MB / 1.342 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006164/0.4379, allocations: 319.6 kB / 1.343 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.438, allocations: 43.83 kB / 1.343 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/0.4389, allocations: 95.86 kB / 1.343 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.4391, allocations: 103.5 kB / 1.343 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/0.4391, allocations: 40 kB / 1.343 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001013/0.4402, allocations: 0.7659 MB / 1.344 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4402, allocations: 0 / 1.344 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003/0.4432, allocations: 0.7266 MB / 1.344 GB, free: 15.11 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0002383/0.4434, allocations: 146.9 kB / 1.344 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00371/0.4471, allocations: 2.484 MB / 1.347 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.4472, allocations: 8.062 kB / 1.347 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007421/0.4479, allocations: 0.5646 MB / 1.347 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.4499, allocations: 249.5 kB / 1.348 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009169/0.4591, allocations: 5.939 MB / 1.353 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/0.4612, allocations: 2.034 MB / 1.355 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002162/0.4634, allocations: 0.8561 MB / 1.356 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.4637, allocations: 87.41 kB / 1.356 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of SimCode: time 1.212e-06/0.4637, allocations: 0 / 1.356 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of Templates: time 0.02469/0.4884, allocations: 14.25 MB / 1.37 GB, free: 4.328 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)