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.00149/0.00149, allocations: 105.4 kB / 15.7 MB, free: 24 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.001873/0.001873, allocations: 197.5 kB / 16.64 MB, free: 6.453 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.515/1.515, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.69/1.69, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001486/0.001486, allocations: 73.05 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2518, allocations: 114.6 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02085/0.2727, allocations: 16.37 MB / 0.7996 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.283, allocations: 5.753 MB / 0.8053 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.2849, allocations: 43.94 kB / 0.8053 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.2892, allocations: 1.532 MB / 0.8068 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.2917, allocations: 0.8248 MB / 0.8076 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.2945, allocations: 1.06 MB / 0.8086 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004285/0.2988, allocations: 3.906 MB / 0.8125 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00629/0.3051, allocations: 5.657 MB / 0.818 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.3077, allocations: 1.746 MB / 0.8197 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.311, allocations: 2.1 MB / 0.8217 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007486/0.3117, allocations: 423.9 kB / 0.8221 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.3139, allocations: 1.065 MB / 0.8232 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001801/0.3157, allocations: 1.649 MB / 0.8248 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002321/0.318, allocations: 1.611 MB / 0.8264 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006668/0.3247, allocations: 6.042 MB / 0.8323 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.3248, allocations: 4 kB / 0.8323 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.907e-06/0.3248, allocations: 0 / 0.8323 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001934/0.325, allocations: 0 / 0.8323 GB, free: 11.23 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.009646/0.3346, allocations: 2.767 MB / 0.835 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.783e-05/0.3347, allocations: 12.03 kB / 0.835 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00132/0.3361, allocations: 432.9 kB / 0.8354 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/0.3397, allocations: 0.6574 MB / 0.836 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003559/0.3433, allocations: 1.446 MB / 0.8374 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.3436, allocations: 210 kB / 0.8376 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008966/0.3445, allocations: 264.4 kB / 0.8379 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009571/0.3541, allocations: 4.719 MB / 0.8425 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.519e-05/0.3541, allocations: 7.984 kB / 0.8425 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003459/0.3545, allocations: 112 kB / 0.8426 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.3547, allocations: 148.6 kB / 0.8428 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007191/0.3619, allocations: 4.082 MB / 0.8467 GB, free: 12.16 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02624/0.3882, allocations: 20.13 MB / 0.8664 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003327/0.3916, allocations: 1.89 MB / 0.8683 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.3928, allocations: 0.7664 MB / 0.869 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.393, allocations: 105.7 kB / 0.8691 GB, free: 3.117 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.3931, allocations: 47.14 kB / 0.8692 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.635e-06/0.3931, allocations: 0 / 0.8692 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.01851/0.4116, allocations: 5.177 MB / 0.8742 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/0.4117, allocations: 149.4 kB / 0.8743 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.413, allocations: 0.9684 MB / 0.8753 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-05/0.4131, allocations: 37.7 kB / 0.8753 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007408/0.4138, allocations: 1.191 MB / 0.8765 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.4142, allocations: 323.5 kB / 0.8768 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005144/0.4147, allocations: 355.1 kB / 0.8771 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4149, allocations: 342 kB / 0.8775 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.4161, allocations: 0.8753 MB / 0.8783 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.4177, allocations: 1.507 MB / 0.8798 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.4206, allocations: 2.453 MB / 0.8822 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.4206, allocations: 8 kB / 0.8822 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003768/0.4244, allocations: 2.504 MB / 0.8846 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.4245, allocations: 16 kB / 0.8847 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/0.4245, allocations: 20 kB / 0.8847 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.234e-05/0.4246, allocations: 43.91 kB / 0.8847 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/0.427, allocations: 0.5148 MB / 0.8852 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.537e-05/0.4271, allocations: 47.8 kB / 0.8853 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.4282, allocations: 159.4 kB / 0.8854 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.4284, allocations: 91.98 kB / 0.8855 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00268/0.431, allocations: 1.902 MB / 0.8874 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001542/0.4326, allocations: 1.499 MB / 0.8888 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002646/0.4353, allocations: 2.434 MB / 0.8912 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.146e-05/0.4353, allocations: 7.938 kB / 0.8912 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.004086/0.4394, allocations: 2.477 MB / 0.8936 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.4394, allocations: 20.06 kB / 0.8937 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.4395, allocations: 20 kB / 0.8937 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/0.4395, allocations: 32 kB / 0.8937 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/0.4418, allocations: 0.5148 MB / 0.8942 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.724e-05/0.4419, allocations: 43.86 kB / 0.8942 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.443, allocations: 143.7 kB / 0.8944 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.4431, allocations: 87.98 kB / 0.8945 GB, free: 7.84 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.0004307/0.4436, allocations: 295.5 kB / 0.8947 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.4438, allocations: 94.88 kB / 0.8948 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.4463, allocations: 1.821 MB / 0.8966 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.4463, allocations: 16 kB / 0.8966 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4463, allocations: 3.938 kB / 0.8966 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.4463, allocations: 7.969 kB / 0.8966 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.4566, allocations: 9.034 MB / 0.9055 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.4567, allocations: 12.94 kB / 0.9055 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.4577, allocations: 255.5 kB / 0.9057 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.137e-05/0.4578, allocations: 16 kB / 0.9057 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.874e-05/0.4579, allocations: 28 kB / 0.9058 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.977e-05/0.4579, allocations: 19.94 kB / 0.9058 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.778e-05/0.4579, allocations: 23.86 kB / 0.9058 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.4601, allocations: 1.768 MB / 0.9075 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.4607, allocations: 287.9 kB / 0.9078 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.4609, allocations: 31.98 kB / 0.9078 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007151/0.4616, allocations: 79.91 kB / 0.9079 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4617, allocations: 91.61 kB / 0.908 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/0.4618, allocations: 32 kB / 0.908 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001047/0.4628, allocations: 0.7331 MB / 0.9087 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4628, allocations: 0 / 0.9087 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00294/0.4658, allocations: 0.8047 MB / 0.9095 GB, free: 7.188 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.002495/0.4683, allocations: 2.366 MB / 0.9118 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004467/0.4728, allocations: 2.999 MB / 0.9148 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.4728, allocations: 0 / 0.9148 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007836/0.4736, allocations: 0.5832 MB / 0.9153 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.4751, allocations: 189.3 kB / 0.9155 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3889/0.8641, allocations: 14.79 MB / 0.93 GB, free: 124 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/0.8669, allocations: 2.106 MB / 0.932 GB, free: 123 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00303/0.87, allocations: 1.021 MB / 0.933 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/0.8714, allocations: 0.7543 MB / 0.9338 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.272e-06/0.8714, allocations: 0 / 0.9338 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05078/0.9222, allocations: 29.17 MB / 0.9622 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.125/10.05, allocations: 4 kB / 0.9622 GB, free: 109.7 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)