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.0009024/0.0009024, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005766/0.005766, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.218/1.218, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.541/1.541, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004627/0.0004627, allocations: 13.53 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1871, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01526/0.2024, allocations: 15.73 MB / 0.8034 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007531/0.21, allocations: 5.703 MB / 0.8089 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007076/0.2107, allocations: 39.88 kB / 0.809 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006108/0.2113, allocations: 285.9 kB / 0.8092 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.2127, allocations: 0.7747 MB / 0.81 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.2143, allocations: 0.7838 MB / 0.8108 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004584/0.2189, allocations: 6.055 MB / 0.8167 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008015/0.2269, allocations: 6.752 MB / 0.8233 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.2286, allocations: 1.179 MB / 0.8244 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.2305, allocations: 1.795 MB / 0.8262 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.2307, allocations: 180 kB / 0.8263 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.2322, allocations: 0.9828 MB / 0.8273 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.2333, allocations: 1.364 MB / 0.8286 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.2343, allocations: 1.289 MB / 0.8299 GB, free: 384 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004073/0.2384, allocations: 5.771 MB / 0.8355 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2384, allocations: 4 kB / 0.8355 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2384, allocations: 0 / 0.8355 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.422e-05/0.2385, allocations: 0 / 0.8355 GB, free: 10.58 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.00353/0.242, allocations: 2.225 MB / 0.8377 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.242, allocations: 8.031 kB / 0.8377 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004782/0.2425, allocations: 424.9 kB / 0.8381 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/0.2454, allocations: 0.6691 MB / 0.8388 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.2474, allocations: 1.427 MB / 0.8402 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.2475, allocations: 202 kB / 0.8404 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003932/0.2479, allocations: 272.4 kB / 0.8406 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008294/0.2562, allocations: 4.723 MB / 0.8452 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/0.2563, allocations: 4 kB / 0.8452 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/0.2566, allocations: 112 kB / 0.8453 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.2567, allocations: 148.6 kB / 0.8455 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006171/0.2629, allocations: 4.093 MB / 0.8495 GB, free: 12.07 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01852/0.2815, allocations: 20.31 MB / 0.8693 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/0.2843, allocations: 1.901 MB / 0.8712 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009502/0.2852, allocations: 0.7509 MB / 0.8719 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.2854, allocations: 109.7 kB / 0.872 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2854, allocations: 43.22 kB / 0.872 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.104e-06/0.2854, allocations: 0 / 0.872 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.01719/0.3026, allocations: 5.271 MB / 0.8772 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.3027, allocations: 145.6 kB / 0.8773 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3038, allocations: 0.9762 MB / 0.8783 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.038e-05/0.3039, allocations: 41.64 kB / 0.8783 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006297/0.3045, allocations: 1.191 MB / 0.8795 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.3048, allocations: 335.3 kB / 0.8798 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.305, allocations: 137.6 kB / 0.8799 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002507/0.3053, allocations: 325.9 kB / 0.8803 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.3064, allocations: 0.8705 MB / 0.8811 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.3082, allocations: 1.51 MB / 0.8826 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.311, allocations: 2.449 MB / 0.885 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.311, allocations: 4 kB / 0.885 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003334/0.3144, allocations: 2.519 MB / 0.8874 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004225/0.3148, allocations: 0.709 MB / 0.8881 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/0.3148, allocations: 24 kB / 0.8881 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/0.3149, allocations: 28 kB / 0.8882 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/0.3171, allocations: 0.5148 MB / 0.8887 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.67e-05/0.3172, allocations: 43.8 kB / 0.8887 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.3182, allocations: 163.5 kB / 0.8889 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.3183, allocations: 83.98 kB / 0.889 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.3183, allocations: 4 kB / 0.889 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003229/0.3216, allocations: 2.386 MB / 0.8913 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.3216, allocations: 24 kB / 0.8913 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.3216, allocations: 28 kB / 0.8913 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.3241, allocations: 0.5195 MB / 0.8918 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.399e-05/0.3241, allocations: 47.8 kB / 0.8919 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/0.325, allocations: 127.7 kB / 0.892 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.3251, allocations: 83.98 kB / 0.8921 GB, free: 13.29 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.001561/0.3267, allocations: 1.235 MB / 0.8933 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.3269, allocations: 90.97 kB / 0.8934 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.3295, allocations: 1.836 MB / 0.8952 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3296, allocations: 8 kB / 0.8952 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.3296, allocations: 8 kB / 0.8952 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.3296, allocations: 3.984 kB / 0.8952 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009499/0.3391, allocations: 9.033 MB / 0.904 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.3391, allocations: 9 kB / 0.904 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009977/0.3401, allocations: 247.6 kB / 0.9043 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.616e-05/0.3402, allocations: 16 kB / 0.9043 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/0.3402, allocations: 39.92 kB / 0.9043 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/0.3403, allocations: 15.94 kB / 0.9043 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.3403, allocations: 15.94 kB / 0.9043 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.3421, allocations: 1.774 MB / 0.9061 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/0.3426, allocations: 319.9 kB / 0.9064 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.3427, allocations: 31.98 kB / 0.9064 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006907/0.3434, allocations: 79.91 kB / 0.9065 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.3436, allocations: 87.61 kB / 0.9066 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/0.3436, allocations: 40 kB / 0.9066 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008611/0.3445, allocations: 0.7254 MB / 0.9073 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3445, allocations: 0 / 0.9073 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002578/0.3471, allocations: 0.8047 MB / 0.9081 GB, free: 11.65 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.002205/0.3493, allocations: 2.373 MB / 0.9104 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003943/0.3533, allocations: 2.972 MB / 0.9133 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3533, allocations: 384 / 0.9133 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007295/0.354, allocations: 0.5791 MB / 0.9139 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.3562, allocations: 198.3 kB / 0.9141 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3192/0.6754, allocations: 16.22 MB / 0.9299 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.6772, allocations: 2.108 MB / 0.932 GB, free: 121.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002346/0.6796, allocations: 1.015 MB / 0.933 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000785/0.6804, allocations: 0.7536 MB / 0.9337 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.362e-06/0.6804, allocations: 2.812 kB / 0.9337 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.437/5.118, allocations: 28.2 MB / 0.9613 GB, free: 111 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/5.118, allocations: 231.1 kB / 0.9615 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/8.015, allocations: 0 / 0.9615 GB, free: 110.8 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)