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.001227/0.001228, allocations: 109.2 kB / 15.99 MB, free: 5.891 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.00126/0.001261, allocations: 189.1 kB / 16.91 MB, free: 5.746 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.451/1.451, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.674/1.674, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001379/0.001379, allocations: 70.47 kB / 0.6717 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2704, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01907/0.2895, allocations: 16.28 MB / 0.7994 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009327/0.2989, allocations: 5.698 MB / 0.805 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.3002, allocations: 35.94 kB / 0.805 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004041/0.3043, allocations: 1.448 MB / 0.8064 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.3068, allocations: 0.7631 MB / 0.8072 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.31, allocations: 0.9661 MB / 0.8081 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005354/0.3153, allocations: 3.925 MB / 0.812 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01023/0.3256, allocations: 6.838 MB / 0.8186 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002925/0.3286, allocations: 1.753 MB / 0.8203 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/0.3324, allocations: 2.205 MB / 0.8225 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.3335, allocations: 420 kB / 0.8229 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.3358, allocations: 1.065 MB / 0.8239 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002074/0.3379, allocations: 1.657 MB / 0.8256 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002778/0.3407, allocations: 1.6 MB / 0.8271 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006412/0.3471, allocations: 5.238 MB / 0.8322 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.3472, allocations: 4 kB / 0.8322 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.557e-06/0.3472, allocations: 4 kB / 0.8322 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001589/0.3473, allocations: 0 / 0.8322 GB, free: 11.8 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.006523/0.3539, allocations: 2.771 MB / 0.8349 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3539, allocations: 8.031 kB / 0.835 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/0.3571, allocations: 0.6613 MB / 0.8356 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/0.3598, allocations: 1.423 MB / 0.837 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.36, allocations: 213.9 kB / 0.8372 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005892/0.3606, allocations: 268.4 kB / 0.8375 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009523/0.3701, allocations: 4.719 MB / 0.8421 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.392e-05/0.3702, allocations: 4 kB / 0.8421 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/0.3706, allocations: 116 kB / 0.8422 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001723/0.3707, allocations: 148.6 kB / 0.8423 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007664/0.3784, allocations: 4.089 MB / 0.8463 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02398/0.4024, allocations: 20.27 MB / 0.8661 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.4056, allocations: 1.909 MB / 0.868 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.4068, allocations: 0.7626 MB / 0.8687 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.407, allocations: 109.7 kB / 0.8688 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.407, allocations: 43.22 kB / 0.8689 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.695e-06/0.407, allocations: 4 kB / 0.8689 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.01772/0.4248, allocations: 5.185 MB / 0.8739 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.4249, allocations: 137.5 kB / 0.8741 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.4261, allocations: 0.9723 MB / 0.875 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.887e-05/0.4262, allocations: 45.8 kB / 0.8751 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006881/0.4269, allocations: 1.184 MB / 0.8762 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.4272, allocations: 327.4 kB / 0.8765 GB, free: 12 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005093/0.4277, allocations: 363 kB / 0.8769 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4278, allocations: 330 kB / 0.8772 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.4291, allocations: 0.8753 MB / 0.878 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.4308, allocations: 1.514 MB / 0.8795 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/0.4339, allocations: 2.453 MB / 0.8819 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.4339, allocations: 4 kB / 0.8819 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003657/0.4376, allocations: 2.508 MB / 0.8844 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4376, allocations: 12 kB / 0.8844 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/0.4376, allocations: 24 kB / 0.8844 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.415e-05/0.4377, allocations: 28 kB / 0.8844 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.4401, allocations: 0.5191 MB / 0.8849 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-05/0.4401, allocations: 43.86 kB / 0.885 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.4412, allocations: 155.5 kB / 0.8851 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.4414, allocations: 87.98 kB / 0.8852 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002675/0.444, allocations: 1.902 MB / 0.8871 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001629/0.4457, allocations: 1.507 MB / 0.8885 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002881/0.4486, allocations: 2.422 MB / 0.8909 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.067e-05/0.4486, allocations: 8 kB / 0.8909 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003656/0.4523, allocations: 2.488 MB / 0.8933 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.4523, allocations: 19.88 kB / 0.8934 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.4523, allocations: 27.98 kB / 0.8934 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.4524, allocations: 28 kB / 0.8934 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/0.4547, allocations: 0.5116 MB / 0.8939 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.114e-05/0.4548, allocations: 51.78 kB / 0.894 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.456, allocations: 147.6 kB / 0.8941 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.4561, allocations: 87.97 kB / 0.8942 GB, free: 8.703 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.0004661/0.4566, allocations: 295.5 kB / 0.8945 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.4569, allocations: 98.86 kB / 0.8946 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.4597, allocations: 1.825 MB / 0.8963 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4597, allocations: 8 kB / 0.8964 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.4597, allocations: 4 kB / 0.8964 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.4598, allocations: 7.984 kB / 0.8964 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.4714, allocations: 9.037 MB / 0.9052 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.4714, allocations: 8 kB / 0.9052 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.4725, allocations: 248.5 kB / 0.9054 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.71e-05/0.4725, allocations: 20 kB / 0.9055 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/0.4726, allocations: 31.98 kB / 0.9055 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.662e-05/0.4726, allocations: 23.88 kB / 0.9055 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.4727, allocations: 19.88 kB / 0.9055 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.4747, allocations: 1.758 MB / 0.9072 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004403/0.4752, allocations: 292 kB / 0.9075 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.4753, allocations: 27.94 kB / 0.9075 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007048/0.4761, allocations: 75.89 kB / 0.9076 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.4762, allocations: 99.55 kB / 0.9077 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.4763, allocations: 39.94 kB / 0.9078 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009045/0.4772, allocations: 0.7293 MB / 0.9085 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4772, allocations: 0 / 0.9085 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002643/0.4799, allocations: 0.8008 MB / 0.9092 GB, free: 8.051 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.0002665/0.4801, allocations: 163 kB / 0.9094 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0045/0.4846, allocations: 3.126 MB / 0.9125 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.4847, allocations: 0 / 0.9125 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007532/0.4854, allocations: 0.5807 MB / 0.913 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.4868, allocations: 189 kB / 0.9132 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3724/0.8592, allocations: 6.006 MB / 0.9191 GB, free: 127.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/0.8613, allocations: 2.176 MB / 0.9212 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005624/0.8619, allocations: 110.6 kB / 0.9213 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.8619, allocations: 0.8438 kB / 0.9213 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.04263/0.9045, allocations: 26.87 MB / 0.9475 GB, free: 118.1 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)