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.001208/0.001208, allocations: 104 kB / 15.61 MB, free: 148 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.001256/0.001256, allocations: 195.7 kB / 16.53 MB, free: 6.684 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.196/1.196, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.551/1.551, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001316/0.001317, allocations: 72.89 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1901, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01973/0.2099, allocations: 16.38 MB / 0.7995 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009445/0.2194, allocations: 5.749 MB / 0.8051 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.2205, allocations: 47.94 kB / 0.8051 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003656/0.2242, allocations: 1.528 MB / 0.8066 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.2262, allocations: 0.8248 MB / 0.8074 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.2287, allocations: 1.063 MB / 0.8085 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003742/0.2324, allocations: 3.914 MB / 0.8123 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005596/0.238, allocations: 5.661 MB / 0.8178 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.2402, allocations: 1.738 MB / 0.8195 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002302/0.2425, allocations: 2.092 MB / 0.8216 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004893/0.243, allocations: 416 kB / 0.822 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.2447, allocations: 1.065 MB / 0.823 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.246, allocations: 1.661 MB / 0.8246 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.2474, allocations: 1.607 MB / 0.8262 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004666/0.2521, allocations: 6.015 MB / 0.8321 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2521, allocations: 0 / 0.8321 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2521, allocations: 4 kB / 0.8321 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.447e-05/0.2522, allocations: 0 / 0.8321 GB, free: 11.41 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.004581/0.2568, allocations: 2.767 MB / 0.8348 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2568, allocations: 8.031 kB / 0.8348 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004765/0.2573, allocations: 428.9 kB / 0.8352 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/0.2603, allocations: 0.6613 MB / 0.8358 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.2625, allocations: 1.427 MB / 0.8372 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.2627, allocations: 214 kB / 0.8374 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003663/0.263, allocations: 276.3 kB / 0.8377 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006911/0.2699, allocations: 4.711 MB / 0.8423 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.27, allocations: 3.938 kB / 0.8423 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002687/0.2703, allocations: 116 kB / 0.8424 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.2705, allocations: 152.6 kB / 0.8426 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005802/0.2763, allocations: 4.085 MB / 0.8466 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02019/0.2965, allocations: 20.28 MB / 0.8664 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.2994, allocations: 1.905 MB / 0.8682 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.3005, allocations: 0.7587 MB / 0.869 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.3006, allocations: 113.7 kB / 0.8691 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3007, allocations: 47.16 kB / 0.8691 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 3.676e-06/0.3007, allocations: 0 / 0.8691 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.01676/0.3175, allocations: 5.181 MB / 0.8742 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.3176, allocations: 137.5 kB / 0.8743 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.3186, allocations: 0.9723 MB / 0.8753 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.3187, allocations: 41.7 kB / 0.8753 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006126/0.3193, allocations: 1.183 MB / 0.8764 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.3196, allocations: 331.5 kB / 0.8768 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004759/0.3201, allocations: 359.2 kB / 0.8771 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3202, allocations: 337.9 kB / 0.8774 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.3214, allocations: 0.8753 MB / 0.8783 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.3229, allocations: 1.514 MB / 0.8798 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002905/0.3258, allocations: 2.449 MB / 0.8822 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.3258, allocations: 8 kB / 0.8822 GB, free: 5.047 MB / 0.7012 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003465/0.3293, allocations: 2.504 MB / 0.8846 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.3293, allocations: 12.19 kB / 0.8846 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.3294, allocations: 24 kB / 0.8846 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.175e-05/0.3294, allocations: 32 kB / 0.8847 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.3316, allocations: 0.5264 MB / 0.8852 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.598e-05/0.3317, allocations: 39.86 kB / 0.8852 GB, free: 1.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.3328, allocations: 163.4 kB / 0.8854 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.3329, allocations: 87.98 kB / 0.8855 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002473/0.3354, allocations: 1.897 MB / 0.8873 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001497/0.3369, allocations: 1.503 MB / 0.8888 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002646/0.3395, allocations: 2.43 MB / 0.8912 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.297e-05/0.3395, allocations: 11.94 kB / 0.8912 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003291/0.3428, allocations: 2.485 MB / 0.8936 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3429, allocations: 12 kB / 0.8936 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.3429, allocations: 20 kB / 0.8936 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3429, allocations: 32 kB / 0.8937 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/0.3451, allocations: 0.507 MB / 0.8942 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-05/0.3452, allocations: 51.78 kB / 0.8942 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009892/0.3462, allocations: 143.8 kB / 0.8943 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.3463, allocations: 91.97 kB / 0.8944 GB, free: 7.871 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.0003335/0.3466, allocations: 287.6 kB / 0.8947 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.3469, allocations: 94.88 kB / 0.8948 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.3495, allocations: 1.836 MB / 0.8966 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3495, allocations: 8 kB / 0.8966 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.3495, allocations: 4 kB / 0.8966 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.3495, allocations: 7.984 kB / 0.8966 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009639/0.3591, allocations: 9.038 MB / 0.9054 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.3592, allocations: 12 kB / 0.9054 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.3602, allocations: 247.6 kB / 0.9057 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/0.3602, allocations: 16 kB / 0.9057 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.3603, allocations: 31.98 kB / 0.9057 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.547e-05/0.3603, allocations: 19.94 kB / 0.9057 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/0.3603, allocations: 20.22 kB / 0.9058 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.3622, allocations: 1.774 MB / 0.9075 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/0.3626, allocations: 291.9 kB / 0.9078 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.3628, allocations: 28 kB / 0.9078 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000723/0.3635, allocations: 75.89 kB / 0.9079 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3636, allocations: 91.61 kB / 0.908 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.3637, allocations: 36 kB / 0.908 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008748/0.3646, allocations: 0.7332 MB / 0.9087 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3646, allocations: 3.938 kB / 0.9087 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002522/0.3671, allocations: 0.7969 MB / 0.9095 GB, free: 7.227 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.002229/0.3693, allocations: 2.369 MB / 0.9118 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004447/0.3738, allocations: 3.131 MB / 0.9149 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.3738, allocations: 4 kB / 0.9149 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007566/0.3746, allocations: 0.5764 MB / 0.9154 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.376, allocations: 172.2 kB / 0.9156 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3241/0.7001, allocations: 15.15 MB / 0.9304 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/0.7023, allocations: 2.105 MB / 0.9324 GB, free: 122.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002673/0.705, allocations: 1.02 MB / 0.9334 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.7061, allocations: 0.7567 MB / 0.9342 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/0.7061, allocations: 0.625 kB / 0.9342 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.358/2.065, allocations: 29.16 MB / 0.9627 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.746/10.81, allocations: 5.953 kB / 0.9627 GB, free: 109.2 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)