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.001382/0.001382, allocations: 109.4 kB / 15.69 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.001696/0.001696, allocations: 186 kB / 16.62 MB, free: 6.582 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.384/1.384, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.818/1.818, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001809/0.001809, allocations: 71.28 kB / 0.6718 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2397, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02069/0.2604, allocations: 16.38 MB / 0.7996 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.271, allocations: 5.745 MB / 0.8052 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.2724, allocations: 43.94 kB / 0.8053 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004318/0.2767, allocations: 1.532 MB / 0.8068 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.2793, allocations: 0.8325 MB / 0.8076 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.2826, allocations: 1.043 MB / 0.8086 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004849/0.2875, allocations: 3.91 MB / 0.8124 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007935/0.2954, allocations: 5.622 MB / 0.8179 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.2983, allocations: 1.746 MB / 0.8196 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003516/0.3019, allocations: 2.092 MB / 0.8217 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001082/0.303, allocations: 416 kB / 0.8221 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.3057, allocations: 1.061 MB / 0.8231 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002105/0.3078, allocations: 1.665 MB / 0.8247 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.3098, allocations: 1.6 MB / 0.8263 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005441/0.3152, allocations: 6.054 MB / 0.8322 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3152, allocations: 0 / 0.8322 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3153, allocations: 0 / 0.8322 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001222/0.3154, allocations: 0 / 0.8322 GB, free: 11.28 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.005569/0.321, allocations: 2.771 MB / 0.8349 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.321, allocations: 12.03 kB / 0.8349 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005418/0.3216, allocations: 424.9 kB / 0.8353 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/0.3246, allocations: 0.6691 MB / 0.836 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.327, allocations: 1.446 MB / 0.8374 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.3272, allocations: 206 kB / 0.8376 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003969/0.3276, allocations: 272.4 kB / 0.8378 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007467/0.3351, allocations: 4.711 MB / 0.8424 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.837e-05/0.3351, allocations: 11.92 kB / 0.8425 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002834/0.3354, allocations: 120 kB / 0.8426 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.3356, allocations: 148.6 kB / 0.8427 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006559/0.3422, allocations: 4.085 MB / 0.8467 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02781/0.37, allocations: 20.11 MB / 0.8663 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.3736, allocations: 1.905 MB / 0.8682 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.3748, allocations: 0.7587 MB / 0.8689 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.375, allocations: 109.7 kB / 0.869 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.3751, allocations: 43.22 kB / 0.8691 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.725e-06/0.3751, allocations: 0 / 0.8691 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.01948/0.3946, allocations: 5.181 MB / 0.8741 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.3947, allocations: 141.5 kB / 0.8743 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.3963, allocations: 0.9685 MB / 0.8752 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.3964, allocations: 45.7 kB / 0.8753 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000968/0.3974, allocations: 1.191 MB / 0.8764 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.3978, allocations: 327.5 kB / 0.8767 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000589/0.3984, allocations: 355.1 kB / 0.8771 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3985, allocations: 329.9 kB / 0.8774 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.3998, allocations: 0.8792 MB / 0.8783 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.4016, allocations: 1.514 MB / 0.8797 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/0.405, allocations: 2.453 MB / 0.8821 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/0.405, allocations: 4 kB / 0.8821 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004106/0.4091, allocations: 2.512 MB / 0.8846 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.4092, allocations: 12 kB / 0.8846 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/0.4092, allocations: 24 kB / 0.8846 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.434e-05/0.4093, allocations: 28 kB / 0.8847 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.4116, allocations: 0.5192 MB / 0.8852 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.428e-05/0.4117, allocations: 47.8 kB / 0.8852 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.4129, allocations: 159.4 kB / 0.8854 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.4131, allocations: 83.98 kB / 0.8854 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002835/0.416, allocations: 1.906 MB / 0.8873 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001795/0.4178, allocations: 1.499 MB / 0.8888 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00319/0.421, allocations: 2.426 MB / 0.8911 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-05/0.421, allocations: 11.94 kB / 0.8911 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003942/0.425, allocations: 2.484 MB / 0.8936 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.425, allocations: 12 kB / 0.8936 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/0.4251, allocations: 24 kB / 0.8936 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/0.4251, allocations: 36.62 kB / 0.8936 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/0.4274, allocations: 0.5187 MB / 0.8941 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.708e-05/0.4275, allocations: 47.78 kB / 0.8942 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.4287, allocations: 139.7 kB / 0.8943 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.4289, allocations: 87.97 kB / 0.8944 GB, free: 7.883 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.0004466/0.4293, allocations: 291.6 kB / 0.8947 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.4296, allocations: 98.88 kB / 0.8948 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/0.4325, allocations: 1.825 MB / 0.8966 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.4325, allocations: 8 kB / 0.8966 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.4326, allocations: 7.984 kB / 0.8966 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.4326, allocations: 3.984 kB / 0.8966 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.4452, allocations: 9.038 MB / 0.9054 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/0.4452, allocations: 8 kB / 0.9054 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.4463, allocations: 243.6 kB / 0.9056 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.069e-05/0.4463, allocations: 16 kB / 0.9057 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-05/0.4464, allocations: 31.98 kB / 0.9057 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.946e-05/0.4465, allocations: 23.94 kB / 0.9057 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-05/0.4465, allocations: 20.28 kB / 0.9057 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.4488, allocations: 1.775 MB / 0.9075 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/0.4494, allocations: 291.9 kB / 0.9077 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.4497, allocations: 28 kB / 0.9078 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008354/0.4505, allocations: 79.83 kB / 0.9078 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.4507, allocations: 87.61 kB / 0.9079 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.069e-05/0.4507, allocations: 40 kB / 0.908 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00108/0.4518, allocations: 0.7332 MB / 0.9087 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4518, allocations: 0 / 0.9087 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003171/0.455, allocations: 0.8008 MB / 0.9095 GB, free: 7.234 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.002552/0.4576, allocations: 2.368 MB / 0.9118 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004523/0.4621, allocations: 3.009 MB / 0.9147 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/0.4621, allocations: 0 / 0.9147 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008024/0.463, allocations: 0.5842 MB / 0.9153 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.4644, allocations: 178.4 kB / 0.9155 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4046/0.869, allocations: 14.79 MB / 0.9299 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/0.8712, allocations: 2.105 MB / 0.932 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002425/0.8737, allocations: 1.022 MB / 0.933 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009709/0.8746, allocations: 0.7579 MB / 0.9337 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.122e-06/0.8747, allocations: 2.062 kB / 0.9337 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05741/0.9321, allocations: 29.17 MB / 0.9622 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.809/9.741, allocations: 8.062 kB / 0.9622 GB, free: 109.4 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/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)