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.00134/0.001341, allocations: 101.2 kB / 16.27 MB, free: 6.418 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.001511/0.001511, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.452/1.452, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.744/1.744, allocations: 292.3 MB / 0.5495 GB, free: 17.72 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.00147/0.001471, allocations: 68.45 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.249, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.448/0.697, allocations: 16.72 MB / 0.8004 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009457/0.7065, allocations: 6.304 MB / 0.8065 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001786/0.7083, allocations: 53.28 kB / 0.8066 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.712, allocations: 1.286 MB / 0.8078 GB, free: 36.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.7148, allocations: 0.839 MB / 0.8086 GB, free: 35.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004811/0.7197, allocations: 1.552 MB / 0.8102 GB, free: 34.87 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005761/0.7254, allocations: 3.85 MB / 0.8139 GB, free: 33.21 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006969/0.7324, allocations: 5 MB / 0.8188 GB, free: 31.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.7358, allocations: 1.645 MB / 0.8204 GB, free: 30.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003893/0.7397, allocations: 1.981 MB / 0.8223 GB, free: 29.86 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001357/0.7411, allocations: 383.7 kB / 0.8227 GB, free: 29.85 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.7439, allocations: 0.8239 MB / 0.8235 GB, free: 29.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002687/0.7466, allocations: 1.492 MB / 0.825 GB, free: 29.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003664/0.7503, allocations: 1.532 MB / 0.8265 GB, free: 28.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008703/0.759, allocations: 5.507 MB / 0.8318 GB, free: 26.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.7591, allocations: 0 / 0.8318 GB, free: 26.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7591, allocations: 0 / 0.8318 GB, free: 26.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001923/0.7593, allocations: 0 / 0.8318 GB, free: 26.37 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.01032/0.7696, allocations: 2.733 MB / 0.8345 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.7697, allocations: 9.625 kB / 0.8345 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004762/0.7744, allocations: 0.7664 MB / 0.8353 GB, free: 24.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003955/0.7784, allocations: 1.408 MB / 0.8366 GB, free: 23.85 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/0.7787, allocations: 189.9 kB / 0.8368 GB, free: 23.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.7798, allocations: 250.9 kB / 0.8371 GB, free: 23.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.7926, allocations: 4.592 MB / 0.8415 GB, free: 21.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.7928, allocations: 7.625 kB / 0.8416 GB, free: 21.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004845/0.7933, allocations: 110 kB / 0.8417 GB, free: 21.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/0.7935, allocations: 177.2 kB / 0.8418 GB, free: 21.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008319/0.8018, allocations: 3.836 MB / 0.8456 GB, free: 19.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0288/0.8307, allocations: 21.42 MB / 0.8665 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.8338, allocations: 2.251 MB / 0.8687 GB, free: 14.27 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.8351, allocations: 0.7287 MB / 0.8694 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.377e-05/0.8352, allocations: 10.03 kB / 0.8694 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.8352, allocations: 59.2 kB / 0.8695 GB, free: 13.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=62): time 2.665e-06/0.8352, allocations: 1.562 kB / 0.8695 GB, free: 13.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=68): time 0.006909/0.8422, allocations: 4.186 MB / 0.8736 GB, free: 10.94 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/0.8423, allocations: 251.2 kB / 0.8738 GB, free: 10.65 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.844, allocations: 1.106 MB / 0.8749 GB, free: 10.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.8441, allocations: 42.33 kB / 0.8749 GB, free: 9.973 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008077/0.8449, allocations: 1.185 MB / 0.8761 GB, free: 8.918 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.8453, allocations: 253 kB / 0.8763 GB, free: 8.703 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005265/0.8458, allocations: 332.4 kB / 0.8766 GB, free: 8.516 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.846, allocations: 346.8 kB / 0.877 GB, free: 8.18 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.8471, allocations: 0.7135 MB / 0.8777 GB, free: 7.805 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.8487, allocations: 1.398 MB / 0.879 GB, free: 6.492 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/0.8514, allocations: 2.166 MB / 0.8811 GB, free: 4.227 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.8514, allocations: 8 kB / 0.8811 GB, free: 4.219 MB / 0.67 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003455/0.8549, allocations: 2.18 MB / 0.8833 GB, free: 2.031 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.8549, allocations: 23.97 kB / 0.8833 GB, free: 2.008 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/0.8549, allocations: 24 kB / 0.8833 GB, free: 1.984 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.363e-05/0.855, allocations: 32 kB / 0.8834 GB, free: 1.953 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.8565, allocations: 431.2 kB / 0.8838 GB, free: 1.531 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.555e-05/0.8566, allocations: 47.8 kB / 0.8838 GB, free: 1.484 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.858, allocations: 187.4 kB / 0.884 GB, free: 1.301 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.8581, allocations: 87.98 kB / 0.8841 GB, free: 1.215 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002597/0.8607, allocations: 1.542 MB / 0.8856 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001596/0.8624, allocations: 1.333 MB / 0.8869 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0023/0.8647, allocations: 1.973 MB / 0.8888 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/0.8647, allocations: 8 kB / 0.8888 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003378/0.8681, allocations: 1.98 MB / 0.8907 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.8681, allocations: 16 kB / 0.8908 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.8682, allocations: 24 kB / 0.8908 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.633e-05/0.8682, allocations: 39.94 kB / 0.8908 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.8696, allocations: 395.2 kB / 0.8912 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.454e-05/0.8696, allocations: 47.86 kB / 0.8912 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.871, allocations: 163.8 kB / 0.8914 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.8711, allocations: 83.98 kB / 0.8915 GB, free: 8.914 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.0004753/0.8716, allocations: 287.5 kB / 0.8918 GB, free: 8.625 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/0.872, allocations: 106.7 kB / 0.8919 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.8738, allocations: 1.096 MB / 0.8929 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.8738, allocations: 12 kB / 0.8929 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.8738, allocations: 4 kB / 0.8929 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.8738, allocations: 3.984 kB / 0.893 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.8881, allocations: 10.18 MB / 0.9029 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/0.8882, allocations: 20 kB / 0.9029 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006974/0.8889, allocations: 187.7 kB / 0.9031 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.366e-05/0.8889, allocations: 20 kB / 0.9031 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.889, allocations: 32 kB / 0.9031 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.832e-05/0.8891, allocations: 31.86 kB / 0.9032 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-05/0.8891, allocations: 24.42 kB / 0.9032 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.8916, allocations: 2.164 MB / 0.9053 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006075/0.8922, allocations: 319.6 kB / 0.9056 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.8924, allocations: 35.98 kB / 0.9056 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009964/0.8934, allocations: 99.88 kB / 0.9057 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.8936, allocations: 95.55 kB / 0.9058 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/0.8936, allocations: 40 kB / 0.9059 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001162/0.8948, allocations: 0.7697 MB / 0.9066 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8948, allocations: 0 / 0.9066 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003427/0.8983, allocations: 0.7227 MB / 0.9073 GB, free: 8.172 MB / 0.7012 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.0002715/0.8985, allocations: 154.9 kB / 0.9075 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003889/0.9024, allocations: 2.511 MB / 0.9099 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/0.9025, allocations: 4 kB / 0.9099 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008479/0.9033, allocations: 0.5738 MB / 0.9105 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.9056, allocations: 255.4 kB / 0.9107 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008248/0.9138, allocations: 4.873 MB / 0.9155 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.916, allocations: 2.07 MB / 0.9175 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.9166, allocations: 99.41 kB / 0.9176 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of SimCode: time 2.735e-06/0.9166, allocations: 0 / 0.9176 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of Templates: time 0.04062/0.9572, allocations: 25.07 MB / 0.9421 GB, free: 4.402 MB / 0.7325 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)