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.001472/0.001472, allocations: 105.4 kB / 15.7 MB, free: 24 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.002299/0.0023, allocations: 199.9 kB / 16.64 MB, free: 6.453 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.561/1.561, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.875/1.875, allocations: 292.3 MB / 0.549 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.001419/0.001419, allocations: 74.77 kB / 0.6723 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2802, allocations: 114.6 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02249/0.3027, allocations: 16.37 MB / 0.8001 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.3137, allocations: 5.745 MB / 0.8057 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.315, allocations: 51.88 kB / 0.8058 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004316/0.3194, allocations: 1.532 MB / 0.8073 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.3219, allocations: 0.8325 MB / 0.8081 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.3248, allocations: 1.044 MB / 0.8091 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004438/0.3293, allocations: 3.906 MB / 0.8129 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008746/0.3381, allocations: 5.626 MB / 0.8184 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00323/0.3413, allocations: 1.742 MB / 0.8201 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004843/0.3462, allocations: 2.096 MB / 0.8222 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001166/0.3474, allocations: 420 kB / 0.8226 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.3507, allocations: 1.065 MB / 0.8236 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002731/0.3534, allocations: 1.657 MB / 0.8252 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003969/0.3574, allocations: 1.599 MB / 0.8268 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007338/0.3648, allocations: 6.05 MB / 0.8327 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.3648, allocations: 3.938 kB / 0.8327 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3649, allocations: 3.938 kB / 0.8327 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001446/0.365, allocations: 0 / 0.8327 GB, free: 10.75 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.00661/0.3716, allocations: 2.767 MB / 0.8354 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3717, allocations: 12.03 kB / 0.8354 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.3749, allocations: 0.6613 MB / 0.8361 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/0.3776, allocations: 1.442 MB / 0.8375 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.3778, allocations: 210 kB / 0.8377 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004335/0.3782, allocations: 272.4 kB / 0.8379 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008148/0.3864, allocations: 4.712 MB / 0.8425 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/0.3865, allocations: 3.938 kB / 0.8425 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002987/0.3868, allocations: 116 kB / 0.8426 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002176/0.387, allocations: 156.6 kB / 0.8428 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006389/0.3934, allocations: 4.082 MB / 0.8468 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02367/0.4171, allocations: 20.12 MB / 0.8664 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/0.4203, allocations: 1.909 MB / 0.8683 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.4214, allocations: 0.7587 MB / 0.869 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.4216, allocations: 109.7 kB / 0.8691 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.4216, allocations: 47.16 kB / 0.8692 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 4.027e-06/0.4216, allocations: 0 / 0.8692 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.01755/0.4392, allocations: 5.181 MB / 0.8742 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/0.4393, allocations: 141.6 kB / 0.8744 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.4405, allocations: 0.9723 MB / 0.8753 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.592e-05/0.4406, allocations: 37.7 kB / 0.8754 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007287/0.4414, allocations: 1.183 MB / 0.8765 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.4417, allocations: 331.4 kB / 0.8768 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005301/0.4422, allocations: 359.1 kB / 0.8772 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4423, allocations: 330 kB / 0.8775 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.4436, allocations: 0.8792 MB / 0.8784 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.4452, allocations: 1.514 MB / 0.8798 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/0.4482, allocations: 2.446 MB / 0.8822 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.4482, allocations: 8 kB / 0.8822 GB, free: 4.973 MB / 0.7012 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003862/0.4521, allocations: 2.511 MB / 0.8847 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.4521, allocations: 16 kB / 0.8847 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.4522, allocations: 20 kB / 0.8847 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.558e-05/0.4522, allocations: 32.81 kB / 0.8847 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/0.4545, allocations: 0.5186 MB / 0.8853 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-05/0.4546, allocations: 43.86 kB / 0.8853 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.4556, allocations: 167.3 kB / 0.8855 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.4558, allocations: 83.98 kB / 0.8855 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00264/0.4584, allocations: 1.902 MB / 0.8874 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001673/0.4601, allocations: 1.495 MB / 0.8889 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002823/0.4629, allocations: 2.438 MB / 0.8912 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-05/0.463, allocations: 4 kB / 0.8912 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.00367/0.4666, allocations: 2.489 MB / 0.8937 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.4667, allocations: 16 kB / 0.8937 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/0.4667, allocations: 20 kB / 0.8937 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.91e-05/0.4668, allocations: 36.06 kB / 0.8937 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/0.4691, allocations: 0.5109 MB / 0.8942 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.034e-05/0.4691, allocations: 43.8 kB / 0.8943 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.4702, allocations: 143.7 kB / 0.8944 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.4704, allocations: 87.98 kB / 0.8945 GB, free: 7.797 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.0004096/0.4708, allocations: 295.6 kB / 0.8948 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.4711, allocations: 94.88 kB / 0.8949 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/0.4739, allocations: 1.829 MB / 0.8967 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.474, allocations: 8 kB / 0.8967 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.474, allocations: 4 kB / 0.8967 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.474, allocations: 7.984 kB / 0.8967 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/0.4888, allocations: 9.034 MB / 0.9055 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/0.4889, allocations: 11.98 kB / 0.9055 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.4901, allocations: 244.3 kB / 0.9057 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.226e-05/0.4901, allocations: 16 kB / 0.9058 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.295e-05/0.4902, allocations: 36 kB / 0.9058 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.718e-05/0.4902, allocations: 23.86 kB / 0.9058 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/0.4902, allocations: 19.88 kB / 0.9058 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.4931, allocations: 1.775 MB / 0.9076 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/0.4937, allocations: 287.9 kB / 0.9078 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.494, allocations: 28 kB / 0.9079 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009198/0.495, allocations: 75.89 kB / 0.9079 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.4951, allocations: 87.62 kB / 0.908 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.4952, allocations: 43.98 kB / 0.9081 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001298/0.4965, allocations: 0.7254 MB / 0.9088 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4965, allocations: 0 / 0.9088 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003694/0.5002, allocations: 0.8086 MB / 0.9096 GB, free: 7.141 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.0003793/0.5006, allocations: 161.5 kB / 0.9097 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004746/0.5054, allocations: 2.994 MB / 0.9126 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/0.5054, allocations: 4 kB / 0.9126 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000854/0.5063, allocations: 0.5844 MB / 0.9132 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.5078, allocations: 180.6 kB / 0.9134 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4482/0.956, allocations: 4.411 MB / 0.9177 GB, free: 127.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002477/0.9586, allocations: 2.109 MB / 0.9198 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002698/0.9613, allocations: 1.02 MB / 0.9208 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.9616, allocations: 93.8 kB / 0.9208 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.222e-06/0.9617, allocations: 3.75 kB / 0.9208 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.0364/0.9981, allocations: 14.67 MB / 0.9352 GB, free: 124.8 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)