Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001442/0.001442, allocations: 108 kB / 15.6 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.002075/0.002075, allocations: 196 kB / 16.53 MB, free: 6.672 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.886/1.886, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.82/1.82, allocations: 251.7 MB / 0.5092 GB, free: 3.082 MB / 414.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.001636/0.001636, allocations: 71.89 kB / 0.6223 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5716, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02163/0.5932, allocations: 16.38 MB / 0.7405 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.6039, allocations: 5.756 MB / 0.7461 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.6055, allocations: 43.94 kB / 0.7462 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004299/0.6098, allocations: 1.536 MB / 0.7477 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.6124, allocations: 0.8325 MB / 0.7485 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.6155, allocations: 1.05 MB / 0.7495 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00463/0.6201, allocations: 3.918 MB / 0.7533 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007666/0.6278, allocations: 5.663 MB / 0.7589 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/0.6309, allocations: 1.738 MB / 0.7606 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003936/0.6349, allocations: 2.096 MB / 0.7626 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008877/0.6358, allocations: 420 kB / 0.763 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.6385, allocations: 1.061 MB / 0.7641 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.6407, allocations: 1.653 MB / 0.7657 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002803/0.6435, allocations: 1.604 MB / 0.7672 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007653/0.6512, allocations: 6.023 MB / 0.7731 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.6512, allocations: 0 / 0.7731 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.454e-06/0.6512, allocations: 0 / 0.7731 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001875/0.6514, allocations: 0 / 0.7731 GB, free: 10.95 MB / 0.5919 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.00759/0.659, allocations: 2.767 MB / 0.7758 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.6591, allocations: 12.03 kB / 0.7758 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/0.6623, allocations: 0.6614 MB / 0.7765 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/0.6651, allocations: 1.423 MB / 0.7779 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.6653, allocations: 210 kB / 0.7781 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004757/0.6657, allocations: 272.4 kB / 0.7783 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00897/0.6747, allocations: 4.723 MB / 0.7829 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/0.6748, allocations: 0 / 0.7829 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/0.6751, allocations: 112 kB / 0.783 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.6753, allocations: 152.6 kB / 0.7832 GB, free: 444 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007079/0.6824, allocations: 4.093 MB / 0.7872 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02698/0.7094, allocations: 20.29 MB / 0.807 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.7127, allocations: 1.891 MB / 0.8088 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.7139, allocations: 0.7626 MB / 0.8096 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.7141, allocations: 101.7 kB / 0.8097 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/0.7142, allocations: 55.16 kB / 0.8097 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=77): time 3.727e-06/0.7142, allocations: 0 / 0.8097 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92): time 0.02026/0.7345, allocations: 5.166 MB / 0.8148 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.932e-05/0.7346, allocations: 141.5 kB / 0.8149 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.736, allocations: 0.9762 MB / 0.8159 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.7362, allocations: 45.8 kB / 0.8159 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008143/0.737, allocations: 1.183 MB / 0.8171 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.7373, allocations: 331.4 kB / 0.8174 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005765/0.7379, allocations: 355.1 kB / 0.8177 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.7381, allocations: 334 kB / 0.818 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.7394, allocations: 0.8714 MB / 0.8189 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.7412, allocations: 1.514 MB / 0.8204 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/0.7443, allocations: 2.449 MB / 0.8228 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.7443, allocations: 8 kB / 0.8228 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003842/0.7481, allocations: 2.512 MB / 0.8252 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.7482, allocations: 18.19 kB / 0.8252 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.7482, allocations: 20 kB / 0.8253 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.591e-05/0.7483, allocations: 32 kB / 0.8253 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/0.7506, allocations: 0.5152 MB / 0.8258 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.833e-05/0.7507, allocations: 51.84 kB / 0.8259 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.7519, allocations: 147.6 kB / 0.826 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.7521, allocations: 91.98 kB / 0.8261 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003108/0.7552, allocations: 1.905 MB / 0.8279 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001683/0.7569, allocations: 1.499 MB / 0.8294 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002994/0.7599, allocations: 2.422 MB / 0.8318 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.185e-05/0.7599, allocations: 4 kB / 0.8318 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003713/0.7636, allocations: 2.496 MB / 0.8342 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.7637, allocations: 16 kB / 0.8342 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.7637, allocations: 20 kB / 0.8342 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.7637, allocations: 32 kB / 0.8343 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/0.766, allocations: 0.5155 MB / 0.8348 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.265e-05/0.7661, allocations: 43.86 kB / 0.8348 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.7673, allocations: 139.8 kB / 0.835 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.7674, allocations: 83.98 kB / 0.835 GB, free: 7.887 MB / 0.6544 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.0004343/0.7678, allocations: 307.5 kB / 0.8353 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.7681, allocations: 98.81 kB / 0.8354 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.7711, allocations: 1.833 MB / 0.8372 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.7711, allocations: 12 kB / 0.8372 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.7711, allocations: 4 kB / 0.8372 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.7711, allocations: 3.984 kB / 0.8372 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.7834, allocations: 9.025 MB / 0.846 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.7834, allocations: 12.94 kB / 0.8461 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.7845, allocations: 251.6 kB / 0.8463 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.137e-05/0.7845, allocations: 23.98 kB / 0.8463 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/0.7846, allocations: 28 kB / 0.8463 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.089e-05/0.7846, allocations: 23.92 kB / 0.8464 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.537e-05/0.7846, allocations: 19.88 kB / 0.8464 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.7868, allocations: 1.766 MB / 0.8481 GB, free: 9.281 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.7874, allocations: 284 kB / 0.8484 GB, free: 8.984 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.7876, allocations: 31.89 kB / 0.8484 GB, free: 8.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007301/0.7883, allocations: 79.91 kB / 0.8485 GB, free: 8.875 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.7885, allocations: 91.61 kB / 0.8486 GB, free: 8.785 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.7885, allocations: 35.98 kB / 0.8486 GB, free: 8.75 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009878/0.7895, allocations: 0.7292 MB / 0.8493 GB, free: 8.023 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7895, allocations: 0 / 0.8493 GB, free: 8.023 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003139/0.7927, allocations: 0.8086 MB / 0.8501 GB, free: 7.215 MB / 0.67 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.0003941/0.7931, allocations: 170.8 kB / 0.8503 GB, free: 7.039 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005517/0.7986, allocations: 3.126 MB / 0.8533 GB, free: 3.922 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/0.7987, allocations: 0 / 0.8533 GB, free: 3.922 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.7996, allocations: 0.5842 MB / 0.8539 GB, free: 3.34 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.8014, allocations: 171.9 kB / 0.8541 GB, free: 3.176 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008562/0.81, allocations: 4.452 MB / 0.8584 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/0.8122, allocations: 2.109 MB / 0.8605 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002791/0.8151, allocations: 1.019 MB / 0.8615 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.8154, allocations: 87.42 kB / 0.8615 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of SimCode: time 1.092e-06/0.8155, allocations: 8 kB / 0.8616 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of Templates: time 0.03288/0.8483, allocations: 14.69 MB / 0.8759 GB, free: 12.7 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)