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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.001, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001243/0.001243, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.849/1.849, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0008115/0.0008118, allocations: 12.12 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3134, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01681/0.3303, allocations: 14.88 MB / 0.8019 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009284/0.3397, allocations: 5.416 MB / 0.8072 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.3408, allocations: 39.88 kB / 0.8073 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007512/0.3416, allocations: 285.9 kB / 0.8075 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.3434, allocations: 0.6225 MB / 0.8082 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.3455, allocations: 0.6068 MB / 0.8087 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005009/0.3505, allocations: 4.576 MB / 0.8132 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009504/0.36, allocations: 5.903 MB / 0.819 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003741/0.3638, allocations: 1.203 MB / 0.8202 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00492/0.3688, allocations: 1.753 MB / 0.8219 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005145/0.3693, allocations: 184 kB / 0.822 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.3713, allocations: 0.5891 MB / 0.8226 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.3731, allocations: 1.357 MB / 0.8239 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007739/0.3738, allocations: 0.5161 MB / 0.8244 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005355/0.3792, allocations: 5.077 MB / 0.8294 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3792, allocations: 0 / 0.8294 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3792, allocations: 4 kB / 0.8294 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001126/0.3794, allocations: 0 / 0.8294 GB, free: 0.6797 MB / 0.6387 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.004936/0.3843, allocations: 2.24 MB / 0.8316 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.3844, allocations: 12.03 kB / 0.8316 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006702/0.385, allocations: 428.7 kB / 0.832 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003094/0.3881, allocations: 0.6643 MB / 0.8327 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.3905, allocations: 1.41 MB / 0.834 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.3906, allocations: 209.6 kB / 0.8342 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.391, allocations: 268 kB / 0.8345 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008047/0.3991, allocations: 4.703 MB / 0.8391 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.3992, allocations: 0 / 0.8391 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/0.3995, allocations: 112 kB / 0.8392 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002644/0.3997, allocations: 148.6 kB / 0.8393 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007257/0.407, allocations: 4.066 MB / 0.8433 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02624/0.4333, allocations: 20.3 MB / 0.8631 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/0.4366, allocations: 1.893 MB / 0.865 GB, free: 9.902 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.4377, allocations: 0.7548 MB / 0.8657 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.4379, allocations: 113.7 kB / 0.8658 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.438, allocations: 43.16 kB / 0.8659 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.655e-06/0.438, allocations: 4 kB / 0.8659 GB, free: 8.949 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.01661/0.4546, allocations: 5.275 MB / 0.871 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.4548, allocations: 141.5 kB / 0.8712 GB, free: 3.488 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.4562, allocations: 0.9684 MB / 0.8721 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.122e-05/0.4562, allocations: 37.7 kB / 0.8721 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007138/0.457, allocations: 1.184 MB / 0.8733 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.4573, allocations: 335.5 kB / 0.8736 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.701e-05/0.4574, allocations: 36 kB / 0.8737 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4575, allocations: 402.7 kB / 0.874 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.4588, allocations: 0.8472 MB / 0.8749 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.4608, allocations: 1.499 MB / 0.8763 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.4626, allocations: 1.182 MB / 0.8775 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/0.4626, allocations: 4 kB / 0.8775 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004191/0.4668, allocations: 2.48 MB / 0.8799 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008507/0.4677, allocations: 0.7142 MB / 0.8806 GB, free: 9.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/0.4677, allocations: 20 kB / 0.8806 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-05/0.4678, allocations: 36 kB / 0.8807 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.4701, allocations: 0.5148 MB / 0.8812 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001225/0.4703, allocations: 51.8 kB / 0.8812 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.4714, allocations: 159.5 kB / 0.8814 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.4716, allocations: 91.92 kB / 0.8814 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.4716, allocations: 7.938 kB / 0.8815 GB, free: 8.293 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003858/0.4755, allocations: 2.371 MB / 0.8838 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/0.4755, allocations: 24 kB / 0.8838 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/0.4756, allocations: 32 kB / 0.8838 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.4777, allocations: 0.5149 MB / 0.8843 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.357e-05/0.4778, allocations: 47.8 kB / 0.8844 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009466/0.4787, allocations: 135.6 kB / 0.8845 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.4788, allocations: 83.98 kB / 0.8846 GB, free: 5.094 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002296/0.4811, allocations: 1.227 MB / 0.8858 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.4814, allocations: 90.97 kB / 0.8859 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/0.4845, allocations: 1.832 MB / 0.8877 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.4846, allocations: 8 kB / 0.8877 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.4846, allocations: 4 kB / 0.8877 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.4846, allocations: 11.92 kB / 0.8877 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.4975, allocations: 9.03 MB / 0.8965 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.78e-05/0.4976, allocations: 16.25 kB / 0.8965 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.4987, allocations: 247.6 kB / 0.8967 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-05/0.4987, allocations: 16 kB / 0.8968 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.4989, allocations: 35.92 kB / 0.8968 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-05/0.4989, allocations: 19.94 kB / 0.8968 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.91e-05/0.4989, allocations: 19.89 kB / 0.8968 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.5017, allocations: 1.758 MB / 0.8986 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007127/0.5024, allocations: 331.8 kB / 0.8989 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/0.5027, allocations: 27.98 kB / 0.8989 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/0.5036, allocations: 71.91 kB / 0.899 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.5037, allocations: 87.7 kB / 0.899 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/0.5038, allocations: 43.95 kB / 0.8991 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00131/0.5051, allocations: 0.7215 MB / 0.8998 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5051, allocations: 0 / 0.8998 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0044/0.5095, allocations: 0.8047 MB / 0.9006 GB, free: 3.469 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00313/0.5127, allocations: 2.366 MB / 0.9029 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005518/0.5182, allocations: 2.948 MB / 0.9058 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.5182, allocations: 0 / 0.9058 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.5193, allocations: 0.5798 MB / 0.9063 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.5211, allocations: 169.8 kB / 0.9065 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/0.5414, allocations: 10.63 MB / 0.9169 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4889/1.03, allocations: 2.102 MB / 0.9189 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003704/1.034, allocations: 1.025 MB / 0.9199 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/1.036, allocations: 0.764 MB / 0.9207 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.172e-06/1.036, allocations: 0 / 0.9207 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08541/1.121, allocations: 28.9 MB / 0.9489 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/1.121, allocations: 216.2 kB / 0.9491 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.445, allocations: 4.547 kB / 0.9491 GB, free: 117.3 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) Environment - environmentSimulation: