Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.001401, allocations: 108 kB / 15.6 MB, free: 132 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.001404/0.001405, allocations: 190.3 kB / 16.53 MB, free: 6.391 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.516/1.516, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.826/1.826, allocations: 292.3 MB / 0.5488 GB, free: 12.86 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.001431/0.001431, allocations: 73.52 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2548, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.0197/0.2745, allocations: 16.37 MB / 0.7994 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.2848, allocations: 5.753 MB / 0.805 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.2864, allocations: 39.94 kB / 0.805 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004796/0.2912, allocations: 1.54 MB / 0.8065 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003616/0.2949, allocations: 0.8287 MB / 0.8073 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.2986, allocations: 1.052 MB / 0.8084 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005414/0.304, allocations: 3.918 MB / 0.8122 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008974/0.313, allocations: 5.657 MB / 0.8177 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.3165, allocations: 1.749 MB / 0.8194 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00441/0.3209, allocations: 2.084 MB / 0.8215 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001531/0.3225, allocations: 420 kB / 0.8219 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/0.3259, allocations: 1.061 MB / 0.8229 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003208/0.3291, allocations: 1.657 MB / 0.8245 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003802/0.3329, allocations: 1.6 MB / 0.8261 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008247/0.3412, allocations: 6.027 MB / 0.832 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.3412, allocations: 0 / 0.832 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.951e-06/0.3413, allocations: 4 kB / 0.832 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002186/0.3415, allocations: 0 / 0.832 GB, free: 11.51 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.0106/0.3521, allocations: 2.767 MB / 0.8347 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.3522, allocations: 8.031 kB / 0.8347 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004651/0.3569, allocations: 0.6613 MB / 0.8353 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003935/0.3608, allocations: 1.431 MB / 0.8367 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.3611, allocations: 210 kB / 0.8369 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/0.3625, allocations: 268.4 kB / 0.8372 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.3804, allocations: 4.715 MB / 0.8418 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/0.3806, allocations: 3.938 kB / 0.8418 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001312/0.3819, allocations: 112 kB / 0.8419 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003165/0.3823, allocations: 156.6 kB / 0.842 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.3965, allocations: 4.085 MB / 0.846 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04371/0.4403, allocations: 20.29 MB / 0.8658 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005947/0.4463, allocations: 1.893 MB / 0.8677 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/0.4485, allocations: 0.7665 MB / 0.8684 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.4488, allocations: 101.7 kB / 0.8685 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/0.4489, allocations: 51.16 kB / 0.8686 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 8.757e-06/0.4489, allocations: 0 / 0.8686 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.02414/0.473, allocations: 5.178 MB / 0.8736 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.4732, allocations: 141.5 kB / 0.8738 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.4745, allocations: 0.9763 MB / 0.8747 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.844e-05/0.4745, allocations: 37.7 kB / 0.8748 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000732/0.4753, allocations: 1.183 MB / 0.8759 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/0.4756, allocations: 331.4 kB / 0.8762 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005458/0.4762, allocations: 359.1 kB / 0.8766 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4764, allocations: 338 kB / 0.8769 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.4777, allocations: 0.8714 MB / 0.8777 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.4794, allocations: 1.514 MB / 0.8792 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/0.4824, allocations: 2.453 MB / 0.8816 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/0.4824, allocations: 8 kB / 0.8816 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003713/0.4861, allocations: 2.504 MB / 0.8841 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.4862, allocations: 16 kB / 0.8841 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.4862, allocations: 24 kB / 0.8841 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.891e-05/0.4863, allocations: 32 kB / 0.8841 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.4886, allocations: 0.5232 MB / 0.8847 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.808e-05/0.4887, allocations: 43.86 kB / 0.8847 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.4898, allocations: 159.3 kB / 0.8848 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.49, allocations: 87.98 kB / 0.8849 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002992/0.493, allocations: 1.901 MB / 0.8868 GB, free: 284 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001728/0.4947, allocations: 1.503 MB / 0.8883 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003022/0.4978, allocations: 2.434 MB / 0.8906 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.478e-05/0.4978, allocations: 4 kB / 0.8906 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003813/0.5016, allocations: 2.484 MB / 0.8931 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.5017, allocations: 16 kB / 0.8931 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.5017, allocations: 20.91 kB / 0.8931 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.5017, allocations: 32 kB / 0.8931 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.504, allocations: 0.5148 MB / 0.8936 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.416e-05/0.5041, allocations: 47.8 kB / 0.8937 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.5052, allocations: 143.7 kB / 0.8938 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.5053, allocations: 87.97 kB / 0.8939 GB, free: 8.398 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.0003992/0.5057, allocations: 295.6 kB / 0.8942 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.506, allocations: 86.97 kB / 0.8943 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/0.5089, allocations: 1.836 MB / 0.8961 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/0.5089, allocations: 12 kB / 0.8961 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.5089, allocations: 0 / 0.8961 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.509, allocations: 3.984 kB / 0.8961 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.5201, allocations: 9.034 MB / 0.9049 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.5202, allocations: 15.98 kB / 0.9049 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.5212, allocations: 251.8 kB / 0.9051 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.5212, allocations: 12 kB / 0.9052 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.8e-05/0.5213, allocations: 31.98 kB / 0.9052 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-05/0.5213, allocations: 19.94 kB / 0.9052 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/0.5214, allocations: 23.86 kB / 0.9052 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.5234, allocations: 1.77 MB / 0.907 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.5238, allocations: 287.9 kB / 0.9072 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.524, allocations: 36 kB / 0.9073 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/0.5247, allocations: 79.89 kB / 0.9073 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.5249, allocations: 91.61 kB / 0.9074 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.5249, allocations: 32 kB / 0.9075 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009867/0.5259, allocations: 0.7254 MB / 0.9082 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5259, allocations: 0 / 0.9082 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002745/0.5287, allocations: 0.8086 MB / 0.909 GB, free: 7.754 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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.0002836/0.529, allocations: 170.9 kB / 0.9091 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004579/0.5336, allocations: 3.124 MB / 0.9122 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.5336, allocations: 4 kB / 0.9122 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000789/0.5344, allocations: 0.5787 MB / 0.9127 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.5359, allocations: 178 kB / 0.9129 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4558/0.9917, allocations: 4.453 MB / 0.9173 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002876/0.9946, allocations: 2.106 MB / 0.9193 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003015/0.9977, allocations: 1.02 MB / 0.9203 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.998, allocations: 97.28 kB / 0.9204 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of SimCode: time 9.11e-07/0.998, allocations: 0 / 0.9204 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.03228/1.03, allocations: 14.67 MB / 0.9347 GB, free: 125.2 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)