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.001545/0.001545, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 185.6 kB / 16.62 MB, free: 6.613 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.523/1.523, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.825/1.825, allocations: 292.3 MB / 0.5489 GB, free: 12.77 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.001485/0.001485, allocations: 76.36 kB / 0.6723 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2771, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02254/0.2997, allocations: 16.72 MB / 0.8005 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0138/0.3136, allocations: 6.31 MB / 0.8066 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.3158, allocations: 51.81 kB / 0.8067 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003781/0.3196, allocations: 1.286 MB / 0.8079 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.3225, allocations: 0.844 MB / 0.8087 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004747/0.3273, allocations: 1.542 MB / 0.8103 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005186/0.3325, allocations: 3.847 MB / 0.814 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00615/0.3387, allocations: 4.964 MB / 0.8189 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.342, allocations: 1.648 MB / 0.8205 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003399/0.3454, allocations: 1.979 MB / 0.8224 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006243/0.3461, allocations: 380 kB / 0.8228 GB, free: 5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.3478, allocations: 0.827 MB / 0.8236 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.3494, allocations: 1.493 MB / 0.825 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.3513, allocations: 1.537 MB / 0.8265 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006559/0.3579, allocations: 5.536 MB / 0.8319 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.3579, allocations: 0 / 0.8319 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.747e-06/0.3579, allocations: 4 kB / 0.8319 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001813/0.3581, allocations: 0 / 0.8319 GB, free: 11.58 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.006992/0.3651, allocations: 2.73 MB / 0.8346 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3652, allocations: 8.031 kB / 0.8346 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00377/0.3689, allocations: 0.7744 MB / 0.8354 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/0.3716, allocations: 1.435 MB / 0.8368 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.3718, allocations: 193.5 kB / 0.837 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000421/0.3722, allocations: 248.4 kB / 0.8372 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008474/0.3807, allocations: 4.584 MB / 0.8417 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.3808, allocations: 11.92 kB / 0.8417 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003459/0.3812, allocations: 112 kB / 0.8418 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003166/0.3815, allocations: 176.2 kB / 0.842 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007189/0.3887, allocations: 3.833 MB / 0.8457 GB, free: 13.17 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02983/0.4186, allocations: 21.28 MB / 0.8665 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.4218, allocations: 2.261 MB / 0.8687 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.423, allocations: 0.721 MB / 0.8694 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-05/0.4231, allocations: 19.95 kB / 0.8694 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.4231, allocations: 50.5 kB / 0.8695 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=62): time 2.885e-06/0.4232, allocations: 0 / 0.8695 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68): time 0.007311/0.4305, allocations: 4.187 MB / 0.8735 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002065/0.4307, allocations: 243.3 kB / 0.8738 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.4324, allocations: 1.112 MB / 0.8749 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.4324, allocations: 37.7 kB / 0.8749 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009107/0.4333, allocations: 1.184 MB / 0.8761 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.4336, allocations: 256.5 kB / 0.8763 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004928/0.4341, allocations: 331.5 kB / 0.8766 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.4343, allocations: 341.9 kB / 0.8769 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.4354, allocations: 0.7113 MB / 0.8776 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.437, allocations: 1.399 MB / 0.879 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.4393, allocations: 2.162 MB / 0.8811 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.4394, allocations: 12 kB / 0.8811 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00324/0.4426, allocations: 2.18 MB / 0.8832 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.4427, allocations: 16.88 kB / 0.8833 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/0.4427, allocations: 27.98 kB / 0.8833 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.218e-05/0.4428, allocations: 39.94 kB / 0.8833 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.4443, allocations: 427.2 kB / 0.8837 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.776e-05/0.4443, allocations: 55.78 kB / 0.8838 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.4456, allocations: 191.7 kB / 0.884 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.4457, allocations: 87.97 kB / 0.8841 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002419/0.4482, allocations: 1.546 MB / 0.8856 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001363/0.4495, allocations: 1.325 MB / 0.8869 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002319/0.4519, allocations: 1.972 MB / 0.8888 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.164e-05/0.4519, allocations: 8 kB / 0.8888 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003003/0.4549, allocations: 1.979 MB / 0.8907 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.4549, allocations: 15.98 kB / 0.8907 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.455, allocations: 28.84 kB / 0.8908 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/0.455, allocations: 35.94 kB / 0.8908 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.4563, allocations: 399.3 kB / 0.8912 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-05/0.4564, allocations: 51.83 kB / 0.8912 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.4575, allocations: 147.5 kB / 0.8914 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.4576, allocations: 83.98 kB / 0.8915 GB, free: 10.53 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.0004918/0.4581, allocations: 291.8 kB / 0.8917 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/0.4585, allocations: 110.6 kB / 0.8918 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.4602, allocations: 1.087 MB / 0.8929 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.4602, allocations: 8 kB / 0.8929 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.4603, allocations: 7.938 kB / 0.8929 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.4603, allocations: 7.984 kB / 0.8929 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.4741, allocations: 10.17 MB / 0.9029 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/0.4742, allocations: 16 kB / 0.9029 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/0.4749, allocations: 187.7 kB / 0.9031 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/0.4749, allocations: 20 kB / 0.9031 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.914e-05/0.475, allocations: 40.67 kB / 0.9031 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.132e-05/0.475, allocations: 27.88 kB / 0.9031 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.588e-05/0.475, allocations: 27.88 kB / 0.9032 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.4772, allocations: 2.159 MB / 0.9053 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/0.4778, allocations: 319.6 kB / 0.9056 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.4779, allocations: 35.98 kB / 0.9056 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009379/0.4789, allocations: 95.86 kB / 0.9057 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.479, allocations: 103.4 kB / 0.9058 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-05/0.4791, allocations: 48 kB / 0.9058 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001071/0.4802, allocations: 0.7658 MB / 0.9066 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4802, allocations: 0 / 0.9066 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002996/0.4832, allocations: 0.7266 MB / 0.9073 GB, free: 9.777 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.0002521/0.4834, allocations: 158.8 kB / 0.9075 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004048/0.4875, allocations: 2.519 MB / 0.9099 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/0.4875, allocations: 4 kB / 0.9099 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007481/0.4883, allocations: 0.5732 MB / 0.9105 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.4903, allocations: 260.8 kB / 0.9107 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007578/0.4979, allocations: 4.401 MB / 0.915 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4518/0.9498, allocations: 2 MB / 0.917 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002464/0.9523, allocations: 0.8494 MB / 0.9178 GB, free: 126 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.9526, allocations: 86.22 kB / 0.9179 GB, free: 126 MB / 0.7325 GB Notification: Performance of SimCode: time 1.804e-06/0.9526, allocations: 0 / 0.9179 GB, free: 126 MB / 0.7325 GB Notification: Performance of Templates: time 0.02863/0.9813, allocations: 14.35 MB / 0.9319 GB, free: 124.8 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)