Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001646/0.001646, allocations: 112 kB / 16.41 MB, free: 6.484 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.001872/0.001872, allocations: 183 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002237/0.002237, allocations: 289.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9378/0.9378, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 95.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4373, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02018/0.4575, allocations: 16.41 MB / 0.7831 GB, free: 3.457 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009216/0.4668, allocations: 5.712 MB / 0.7887 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.4678, allocations: 51.81 kB / 0.7887 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00395/0.4718, allocations: 1.54 MB / 0.7902 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.4739, allocations: 0.8403 MB / 0.791 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.4766, allocations: 1.05 MB / 0.7921 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004052/0.4807, allocations: 3.906 MB / 0.7959 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006693/0.4874, allocations: 5.626 MB / 0.8014 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002385/0.4898, allocations: 1.753 MB / 0.8031 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/0.4929, allocations: 2.088 MB / 0.8051 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009388/0.4938, allocations: 427.9 kB / 0.8055 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.4961, allocations: 1.069 MB / 0.8066 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.4982, allocations: 1.649 MB / 0.8082 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00253/0.5008, allocations: 1.611 MB / 0.8098 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006357/0.5071, allocations: 6.057 MB / 0.8157 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5072, allocations: 0 / 0.8157 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5072, allocations: 0 / 0.8157 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001117/0.5073, allocations: 0 / 0.8157 GB, free: 1.922 MB / 0.5762 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.005541/0.5128, allocations: 2.767 MB / 0.8184 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5129, allocations: 8.031 kB / 0.8184 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/0.5163, allocations: 0.673 MB / 0.819 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.5187, allocations: 1.431 MB / 0.8204 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.5189, allocations: 210 kB / 0.8206 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004607/0.5193, allocations: 276.4 kB / 0.8209 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00802/0.5274, allocations: 4.723 MB / 0.8255 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.132e-05/0.5274, allocations: 0 / 0.8255 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/0.5278, allocations: 116 kB / 0.8256 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001666/0.5279, allocations: 148.6 kB / 0.8258 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006496/0.5344, allocations: 4.085 MB / 0.8298 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02288/0.5573, allocations: 20.11 MB / 0.8494 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.5607, allocations: 1.891 MB / 0.8512 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.5618, allocations: 0.7665 MB / 0.852 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.562, allocations: 113.7 kB / 0.8521 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.562, allocations: 39.22 kB / 0.8521 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=77): time 2.575e-06/0.562, allocations: 0 / 0.8521 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92): time 0.01907/0.5811, allocations: 5.193 MB / 0.8572 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.5812, allocations: 141.5 kB / 0.8573 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.5825, allocations: 0.9684 MB / 0.8583 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.844e-05/0.5826, allocations: 41.7 kB / 0.8583 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007051/0.5833, allocations: 1.191 MB / 0.8595 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.5836, allocations: 331.4 kB / 0.8598 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005191/0.5841, allocations: 355.1 kB / 0.8602 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5842, allocations: 330 kB / 0.8605 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.5855, allocations: 0.8792 MB / 0.8613 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.5872, allocations: 1.51 MB / 0.8628 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.5901, allocations: 2.457 MB / 0.8652 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.5901, allocations: 4 kB / 0.8652 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003623/0.5938, allocations: 2.508 MB / 0.8677 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.5938, allocations: 12 kB / 0.8677 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/0.5938, allocations: 27.94 kB / 0.8677 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.888e-05/0.5939, allocations: 32.06 kB / 0.8677 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.5963, allocations: 0.5187 MB / 0.8682 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.232e-05/0.5963, allocations: 39.86 kB / 0.8683 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.5974, allocations: 163.5 kB / 0.8684 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.5975, allocations: 91.86 kB / 0.8685 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002547/0.6001, allocations: 1.903 MB / 0.8704 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001604/0.6017, allocations: 1.503 MB / 0.8718 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003131/0.6048, allocations: 2.426 MB / 0.8742 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.055e-05/0.6049, allocations: 8 kB / 0.8742 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003901/0.6088, allocations: 2.485 MB / 0.8766 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6088, allocations: 16 kB / 0.8767 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.6088, allocations: 24 kB / 0.8767 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.6089, allocations: 28 kB / 0.8767 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.6112, allocations: 0.5187 MB / 0.8772 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-05/0.6112, allocations: 39.86 kB / 0.8772 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.6123, allocations: 147.7 kB / 0.8774 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.6125, allocations: 83.98 kB / 0.8775 GB, free: 14.98 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.0003685/0.6129, allocations: 295.5 kB / 0.8778 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.6131, allocations: 94.88 kB / 0.8778 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/0.6159, allocations: 1.825 MB / 0.8796 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.6159, allocations: 11.94 kB / 0.8796 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.6159, allocations: 4 kB / 0.8796 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.616, allocations: 3.984 kB / 0.8796 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.6269, allocations: 9.051 MB / 0.8885 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/0.6269, allocations: 12 kB / 0.8885 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.628, allocations: 259.6 kB / 0.8887 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.838e-05/0.628, allocations: 16 kB / 0.8888 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/0.6281, allocations: 28 kB / 0.8888 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.601e-05/0.6281, allocations: 19.94 kB / 0.8888 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-05/0.6281, allocations: 23.86 kB / 0.8888 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.6301, allocations: 1.756 MB / 0.8905 GB, free: 404 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004506/0.6306, allocations: 291.9 kB / 0.8908 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.6308, allocations: 39.92 kB / 0.8909 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007678/0.6315, allocations: 75.97 kB / 0.8909 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.6317, allocations: 91.55 kB / 0.891 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.6318, allocations: 36 kB / 0.8911 GB, free: 15.85 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009508/0.6327, allocations: 0.7254 MB / 0.8918 GB, free: 15.12 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6327, allocations: 3.938 kB / 0.8918 GB, free: 15.12 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002775/0.6355, allocations: 0.8086 MB / 0.8926 GB, free: 14.31 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.0002779/0.6358, allocations: 174.9 kB / 0.8927 GB, free: 14.13 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004471/0.6403, allocations: 2.999 MB / 0.8956 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.6403, allocations: 4 kB / 0.8957 GB, free: 11.13 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008087/0.6411, allocations: 0.5745 MB / 0.8962 GB, free: 10.56 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.6427, allocations: 188 kB / 0.8964 GB, free: 10.39 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009067/0.6517, allocations: 4.869 MB / 0.9011 GB, free: 5.34 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00255/0.6543, allocations: 2.176 MB / 0.9033 GB, free: 3.125 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/0.6549, allocations: 107.4 kB / 0.9034 GB, free: 3.02 MB / 0.67 GB Notification: Performance of SimCode: time 8.12e-07/0.6549, allocations: 0 / 0.9034 GB, free: 3.02 MB / 0.67 GB Notification: Performance of Templates: time 0.0379/0.6928, allocations: 27.06 MB / 0.9298 GB, free: 8.027 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)