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.001257/0.001257, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001201/0.001201, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.592/1.592, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.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.753/1.753, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001336/0.001336, allocations: 65.92 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2691, allocations: 114.6 MB / 0.7827 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02026/0.2894, allocations: 16.6 MB / 0.7989 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.3003, allocations: 6.337 MB / 0.8051 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.302, allocations: 39.88 kB / 0.8051 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004269/0.3063, allocations: 1.198 MB / 0.8063 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.3096, allocations: 0.8018 MB / 0.8071 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00456/0.3142, allocations: 1.415 MB / 0.8085 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006174/0.3204, allocations: 5.789 MB / 0.8141 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009547/0.33, allocations: 5.596 MB / 0.8196 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00322/0.3333, allocations: 1.378 MB / 0.8209 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/0.3374, allocations: 2.029 MB / 0.8229 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.3387, allocations: 260 kB / 0.8232 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.3416, allocations: 0.8464 MB / 0.824 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002813/0.3444, allocations: 1.376 MB / 0.8253 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003555/0.348, allocations: 1.4 MB / 0.8267 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006195/0.3542, allocations: 5.457 MB / 0.832 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.3542, allocations: 0 / 0.832 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3542, allocations: 3.938 kB / 0.832 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001506/0.3544, allocations: 0 / 0.832 GB, free: 11.24 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.00667/0.3611, allocations: 2.722 MB / 0.8347 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.3612, allocations: 16.03 kB / 0.8347 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003881/0.365, allocations: 0.7666 MB / 0.8354 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.3674, allocations: 1.404 MB / 0.8368 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.3676, allocations: 189.5 kB / 0.837 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004335/0.368, allocations: 256.2 kB / 0.8372 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008233/0.3763, allocations: 4.584 MB / 0.8417 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-05/0.3764, allocations: 11.88 kB / 0.8417 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/0.3767, allocations: 115.9 kB / 0.8418 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002177/0.3769, allocations: 172.3 kB / 0.842 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006273/0.3832, allocations: 3.835 MB / 0.8457 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02353/0.4068, allocations: 21.42 MB / 0.8667 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/0.4094, allocations: 2.249 MB / 0.8689 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000992/0.4104, allocations: 0.727 MB / 0.8696 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.4104, allocations: 15.98 kB / 0.8696 GB, free: 2.242 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.4105, allocations: 50.36 kB / 0.8696 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=62): time 4.258e-06/0.4105, allocations: 3.984 kB / 0.8696 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68): time 0.005638/0.4161, allocations: 4.186 MB / 0.8737 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.4163, allocations: 248.4 kB / 0.874 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.4179, allocations: 1.108 MB / 0.875 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.15e-05/0.418, allocations: 41.7 kB / 0.8751 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009046/0.4189, allocations: 1.191 MB / 0.8763 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.4192, allocations: 252.6 kB / 0.8765 GB, free: 11 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000483/0.4197, allocations: 323.1 kB / 0.8768 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002235/0.42, allocations: 345.9 kB / 0.8771 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.421, allocations: 0.7113 MB / 0.8778 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.4224, allocations: 1.411 MB / 0.8792 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.4249, allocations: 2.161 MB / 0.8813 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.4249, allocations: 11.94 kB / 0.8813 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003378/0.4283, allocations: 2.18 MB / 0.8835 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.4283, allocations: 20.12 kB / 0.8835 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.4284, allocations: 28 kB / 0.8835 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.259e-05/0.4284, allocations: 32 kB / 0.8835 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.4298, allocations: 435.2 kB / 0.8839 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.006e-05/0.4299, allocations: 43.86 kB / 0.884 GB, free: 2.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.4311, allocations: 195.3 kB / 0.8842 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.4312, allocations: 83.98 kB / 0.8843 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002302/0.4335, allocations: 1.546 MB / 0.8858 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001321/0.4349, allocations: 1.325 MB / 0.8871 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002027/0.4369, allocations: 1.976 MB / 0.889 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.698e-06/0.4369, allocations: 8 kB / 0.889 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002925/0.4399, allocations: 1.976 MB / 0.8909 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.4399, allocations: 16 kB / 0.8909 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.4399, allocations: 32 kB / 0.891 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.226e-05/0.44, allocations: 35.94 kB / 0.891 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4412, allocations: 391.3 kB / 0.8914 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.96e-05/0.4413, allocations: 51.8 kB / 0.8914 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.4424, allocations: 155.7 kB / 0.8916 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.4425, allocations: 87.98 kB / 0.8917 GB, free: 10.07 MB / 0.7169 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.0004204/0.4429, allocations: 284 kB / 0.8919 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/0.4432, allocations: 102.7 kB / 0.892 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.4448, allocations: 1.096 MB / 0.8931 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4449, allocations: 8 kB / 0.8931 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.4449, allocations: 8 kB / 0.8931 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4449, allocations: 3.984 kB / 0.8931 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.4579, allocations: 10.18 MB / 0.9031 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/0.458, allocations: 16 kB / 0.9031 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/0.4588, allocations: 191.6 kB / 0.9033 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-05/0.4588, allocations: 20 kB / 0.9033 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/0.4589, allocations: 32 kB / 0.9033 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.759e-05/0.4589, allocations: 27.92 kB / 0.9033 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-05/0.459, allocations: 23.88 kB / 0.9034 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.4619, allocations: 2.166 MB / 0.9055 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006353/0.4626, allocations: 320 kB / 0.9058 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.4627, allocations: 35.91 kB / 0.9058 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009561/0.4637, allocations: 99.86 kB / 0.9059 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.4639, allocations: 99.55 kB / 0.906 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.4639, allocations: 40 kB / 0.906 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001255/0.4652, allocations: 0.7658 MB / 0.9068 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4652, allocations: 4 kB / 0.9068 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003325/0.4685, allocations: 0.7265 MB / 0.9075 GB, free: 9.316 MB / 0.7325 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.000256/0.4688, allocations: 170.7 kB / 0.9077 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003512/0.4723, allocations: 2.468 MB / 0.9101 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/0.4723, allocations: 4 kB / 0.9101 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006988/0.473, allocations: 0.5694 MB / 0.9106 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.475, allocations: 246.6 kB / 0.9109 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007684/0.4827, allocations: 5.485 MB / 0.9162 GB, free: 144 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.46/0.9427, allocations: 2.002 MB / 0.9182 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002486/0.9453, allocations: 0.853 MB / 0.919 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.9456, allocations: 88.53 kB / 0.9191 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.643e-06/0.9456, allocations: 0.875 kB / 0.9191 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.02792/0.9736, allocations: 13.88 MB / 0.9327 GB, free: 125 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)