Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001675/0.001676, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 75.88 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3335, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.5888/0.9223, allocations: 16.7 MB / 0.8011 GB, free: 41.19 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01231/0.9347, allocations: 6.314 MB / 0.8073 GB, free: 36.94 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002878/0.9376, allocations: 51.88 kB / 0.8073 GB, free: 36.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005052/0.9427, allocations: 1.29 MB / 0.8086 GB, free: 36.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0046/0.9473, allocations: 0.8382 MB / 0.8094 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005283/0.9526, allocations: 1.548 MB / 0.8109 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006726/0.9594, allocations: 3.844 MB / 0.8147 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01/0.9694, allocations: 5.006 MB / 0.8196 GB, free: 31.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004401/0.9738, allocations: 1.65 MB / 0.8212 GB, free: 30.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005111/0.979, allocations: 1.981 MB / 0.8231 GB, free: 29.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002274/0.9813, allocations: 380.8 kB / 0.8235 GB, free: 29.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00444/0.9858, allocations: 0.824 MB / 0.8243 GB, free: 29.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003745/0.9895, allocations: 1.492 MB / 0.8257 GB, free: 29.04 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004229/0.9938, allocations: 1.528 MB / 0.8272 GB, free: 28.04 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00977/1.004, allocations: 5.543 MB / 0.8326 GB, free: 26.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/1.004, allocations: 0 / 0.8326 GB, free: 26.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.805e-06/1.004, allocations: 1.062 kB / 0.8326 GB, free: 26.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002715/1.004, allocations: 0 / 0.8326 GB, free: 26.34 MB / 0.6544 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.0108/1.015, allocations: 2.732 MB / 0.8353 GB, free: 24.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/1.015, allocations: 9.25 kB / 0.8353 GB, free: 24.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004652/1.019, allocations: 0.7742 MB / 0.8361 GB, free: 24.61 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00426/1.024, allocations: 1.427 MB / 0.8375 GB, free: 23.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/1.024, allocations: 192.6 kB / 0.8376 GB, free: 23.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/1.025, allocations: 250.9 kB / 0.8379 GB, free: 23.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/1.037, allocations: 4.588 MB / 0.8424 GB, free: 21.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.593e-05/1.037, allocations: 20.03 kB / 0.8424 GB, free: 21.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003488/1.037, allocations: 106.1 kB / 0.8425 GB, free: 21.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002478/1.038, allocations: 180.1 kB / 0.8427 GB, free: 21.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008286/1.046, allocations: 3.829 MB / 0.8464 GB, free: 19.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02628/1.072, allocations: 21.29 MB / 0.8672 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/1.076, allocations: 2.251 MB / 0.8694 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/1.077, allocations: 0.717 MB / 0.8701 GB, free: 13.75 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-05/1.077, allocations: 14.48 kB / 0.8701 GB, free: 13.74 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/1.077, allocations: 53.8 kB / 0.8701 GB, free: 13.69 MB / 0.67 GB Notification: Performance of pre-optimization done (n=62): time 4.068e-06/1.077, allocations: 0 / 0.8701 GB, free: 13.69 MB / 0.67 GB Notification: Performance of matching and sorting (n=68): time 0.008447/1.085, allocations: 4.196 MB / 0.8742 GB, free: 10.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/1.086, allocations: 239.3 kB / 0.8745 GB, free: 10.54 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/1.088, allocations: 1.109 MB / 0.8756 GB, free: 9.898 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.013e-05/1.088, allocations: 37.64 kB / 0.8756 GB, free: 9.859 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/1.089, allocations: 1.191 MB / 0.8768 GB, free: 8.801 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/1.089, allocations: 262.4 kB / 0.877 GB, free: 8.578 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005366/1.09, allocations: 324.9 kB / 0.8773 GB, free: 8.395 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.09, allocations: 343.6 kB / 0.8776 GB, free: 8.062 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/1.091, allocations: 0.7094 MB / 0.8783 GB, free: 7.691 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/1.093, allocations: 1.406 MB / 0.8797 GB, free: 6.367 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/1.096, allocations: 2.167 MB / 0.8818 GB, free: 3.867 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-05/1.096, allocations: 4 kB / 0.8818 GB, free: 3.863 MB / 0.67 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003485/1.099, allocations: 2.183 MB / 0.884 GB, free: 1.672 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/1.099, allocations: 16.78 kB / 0.884 GB, free: 1.656 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.393e-05/1.099, allocations: 27.94 kB / 0.884 GB, free: 1.629 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-05/1.099, allocations: 32 kB / 0.884 GB, free: 1.598 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/1.101, allocations: 431.9 kB / 0.8844 GB, free: 1.176 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.867e-05/1.101, allocations: 51.8 kB / 0.8845 GB, free: 1.125 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/1.102, allocations: 187.4 kB / 0.8847 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/1.103, allocations: 87.97 kB / 0.8848 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003254/1.106, allocations: 1.545 MB / 0.8863 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001607/1.107, allocations: 1.325 MB / 0.8876 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002273/1.11, allocations: 1.972 MB / 0.8895 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.729e-05/1.11, allocations: 8 kB / 0.8895 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003175/1.113, allocations: 1.984 MB / 0.8914 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.113, allocations: 16 kB / 0.8914 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/1.113, allocations: 32.11 kB / 0.8915 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.644e-05/1.113, allocations: 39.94 kB / 0.8915 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/1.114, allocations: 391.3 kB / 0.8919 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.352e-05/1.114, allocations: 51.84 kB / 0.8919 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.116, allocations: 155.4 kB / 0.8921 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/1.116, allocations: 83.98 kB / 0.8922 GB, free: 8.559 MB / 0.6856 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.0005578/1.117, allocations: 283.6 kB / 0.8924 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/1.117, allocations: 106.8 kB / 0.8925 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/1.119, allocations: 1.1 MB / 0.8936 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.119, allocations: 3.984 kB / 0.8936 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.119, allocations: 7.984 kB / 0.8936 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/1.119, allocations: 299.6 kB / 0.8939 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/1.12, allocations: 16 kB / 0.8939 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.121, allocations: 167.7 kB / 0.8941 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.121, allocations: 47.89 kB / 0.8941 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001988/1.123, allocations: 1.731 MB / 0.8958 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001996/1.125, allocations: 1.811 MB / 0.8976 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006667/1.125, allocations: 0.5 MB / 0.8981 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001197/1.127, allocations: 0.7659 MB / 0.8988 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of Backend: time 4.41e-07/1.127, allocations: 0 / 0.8988 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00544/1.132, allocations: 2.337 MB / 0.9011 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of SimCode: time 0.008082/1.14, allocations: 4.058 MB / 0.9051 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of Templates: time 0.04308/1.183, allocations: 23.59 MB / 0.9281 GB, free: 3.805 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)