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.001294/0.001294, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001778/0.001778, allocations: 194.7 kB / 16.14 MB, free: 6.703 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.698/1.698, allocations: 205.1 MB / 222 MB, free: 4.77 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.687/1.687, allocations: 251.7 MB / 0.5088 GB, free: 3.328 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.001789/0.001789, allocations: 63.91 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7807, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02045/0.8012, allocations: 16.29 MB / 0.7397 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.8128, allocations: 5.776 MB / 0.7454 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.8148, allocations: 35.94 kB / 0.7454 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004714/0.8196, allocations: 1.454 MB / 0.7468 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.8227, allocations: 0.7747 MB / 0.7476 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.8264, allocations: 0.9507 MB / 0.7485 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00748/0.8339, allocations: 6.051 MB / 0.7544 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.8442, allocations: 6.311 MB / 0.7606 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.8476, allocations: 1.461 MB / 0.762 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003178/0.8508, allocations: 2.151 MB / 0.7641 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005733/0.8514, allocations: 292 kB / 0.7644 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.8539, allocations: 1.096 MB / 0.7655 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001695/0.8556, allocations: 1.536 MB / 0.767 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.8574, allocations: 1.467 MB / 0.7684 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006254/0.8636, allocations: 5.968 MB / 0.7742 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.8637, allocations: 11.94 kB / 0.7742 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8637, allocations: 0 / 0.7742 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001309/0.8638, allocations: 3.938 kB / 0.7742 GB, free: 9.336 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.005956/0.8698, allocations: 2.767 MB / 0.7769 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.8698, allocations: 8.031 kB / 0.7769 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/0.8731, allocations: 0.6575 MB / 0.7776 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/0.8756, allocations: 1.43 MB / 0.779 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.8758, allocations: 210 kB / 0.7792 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000454/0.8762, allocations: 264.4 kB / 0.7794 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009781/0.886, allocations: 4.719 MB / 0.784 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.407e-05/0.8861, allocations: 15.86 kB / 0.7841 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004623/0.8866, allocations: 116 kB / 0.7842 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002397/0.8869, allocations: 152.6 kB / 0.7843 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00848/0.8954, allocations: 4.081 MB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03243/0.9278, allocations: 20.28 MB / 0.8081 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004197/0.9321, allocations: 1.899 MB / 0.81 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.9337, allocations: 0.7548 MB / 0.8107 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.934, allocations: 109.7 kB / 0.8108 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.9341, allocations: 47.16 kB / 0.8108 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=77): time 4.759e-06/0.9341, allocations: 0 / 0.8108 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92): time 0.0206/0.9547, allocations: 5.181 MB / 0.8159 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.9549, allocations: 141.6 kB / 0.816 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.9566, allocations: 0.9723 MB / 0.817 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.9567, allocations: 41.7 kB / 0.817 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008701/0.9576, allocations: 1.184 MB / 0.8182 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003929/0.958, allocations: 331.3 kB / 0.8185 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006321/0.9587, allocations: 363 kB / 0.8188 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.9588, allocations: 326 kB / 0.8192 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.9603, allocations: 0.8792 MB / 0.82 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.9622, allocations: 1.514 MB / 0.8215 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/0.966, allocations: 2.453 MB / 0.8239 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.813e-05/0.9661, allocations: 4 kB / 0.8239 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004592/0.9707, allocations: 2.511 MB / 0.8263 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.9707, allocations: 12 kB / 0.8264 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.79e-05/0.9708, allocations: 24 kB / 0.8264 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.398e-05/0.9709, allocations: 28.78 kB / 0.8264 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/0.9732, allocations: 0.5187 MB / 0.8269 GB, free: 332 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.785e-05/0.9733, allocations: 43.84 kB / 0.827 GB, free: 288 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.9744, allocations: 159.6 kB / 0.8271 GB, free: 128 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.9746, allocations: 83.98 kB / 0.8272 GB, free: 44 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003471/0.9781, allocations: 1.901 MB / 0.829 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00182/0.9799, allocations: 1.495 MB / 0.8305 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003064/0.983, allocations: 2.426 MB / 0.8329 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.347e-05/0.983, allocations: 8 kB / 0.8329 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003812/0.9868, allocations: 2.5 MB / 0.8353 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.9869, allocations: 12 kB / 0.8353 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.9869, allocations: 24 kB / 0.8354 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/0.9869, allocations: 32.06 kB / 0.8354 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.9892, allocations: 0.5109 MB / 0.8359 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.915e-05/0.9892, allocations: 51.78 kB / 0.8359 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.9902, allocations: 143.7 kB / 0.8361 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.9904, allocations: 91.98 kB / 0.8362 GB, free: 6.254 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.0004558/0.9908, allocations: 295.5 kB / 0.8364 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.9911, allocations: 90.97 kB / 0.8365 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.9937, allocations: 1.833 MB / 0.8383 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.9938, allocations: 8 kB / 0.8383 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.9938, allocations: 4 kB / 0.8383 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.9938, allocations: 3.984 kB / 0.8383 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/1.005, allocations: 9.026 MB / 0.8471 GB, free: 9.941 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/1.005, allocations: 12.03 kB / 0.8472 GB, free: 9.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009974/1.006, allocations: 251.6 kB / 0.8474 GB, free: 9.684 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/1.006, allocations: 16 kB / 0.8474 GB, free: 9.668 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/1.006, allocations: 35.94 kB / 0.8475 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.869e-05/1.006, allocations: 19.92 kB / 0.8475 GB, free: 9.613 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/1.006, allocations: 19.88 kB / 0.8475 GB, free: 9.594 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/1.008, allocations: 1.778 MB / 0.8492 GB, free: 7.66 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/1.008, allocations: 288 kB / 0.8495 GB, free: 7.359 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.009, allocations: 31.98 kB / 0.8495 GB, free: 7.328 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/1.009, allocations: 71.91 kB / 0.8496 GB, free: 7.258 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.009, allocations: 95.59 kB / 0.8497 GB, free: 7.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.955e-05/1.009, allocations: 39.98 kB / 0.8497 GB, free: 7.125 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001023/1.01, allocations: 0.7254 MB / 0.8504 GB, free: 6.406 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/1.01, allocations: 0 / 0.8504 GB, free: 6.406 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002916/1.013, allocations: 0.8047 MB / 0.8512 GB, free: 5.602 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.0003144/1.014, allocations: 178.8 kB / 0.8514 GB, free: 5.414 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004545/1.018, allocations: 2.963 MB / 0.8543 GB, free: 2.461 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/1.018, allocations: 0 / 0.8543 GB, free: 2.461 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008518/1.019, allocations: 0.5842 MB / 0.8549 GB, free: 1.879 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.021, allocations: 173.7 kB / 0.855 GB, free: 1.711 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008246/1.029, allocations: 5.536 MB / 0.8604 GB, free: 12 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002003/1.031, allocations: 2.105 MB / 0.8625 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002591/1.033, allocations: 1.027 MB / 0.8635 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/1.034, allocations: 95.42 kB / 0.8636 GB, free: 8.742 MB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/1.034, allocations: 0 / 0.8636 GB, free: 8.742 MB / 0.6856 GB Notification: Performance of Templates: time 0.0264/1.06, allocations: 14.21 MB / 0.8775 GB, free: 10.62 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)