Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",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.0008398/0.0008399, allocations: 91.3 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.005177/0.005177, allocations: 172.6 kB / 16.26 MB, free: 6.68 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.415/1.415, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.673/1.673, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005284/0.0005284, allocations: 22.69 kB / 0.6744 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.005249/0.2186, allocations: 5.081 MB / 0.793 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005579/0.2242, allocations: 4.121 MB / 0.797 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.2246, allocations: 15.88 kB / 0.797 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.2249, allocations: 95.23 kB / 0.7971 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.2263, allocations: 0.6264 MB / 0.7977 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.2275, allocations: 0.499 MB / 0.7982 GB, free: 1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.2289, allocations: 1.634 MB / 0.7998 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.23, allocations: 0.6995 MB / 0.8005 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.2305, allocations: 390.4 kB / 0.8008 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007164/0.2312, allocations: 0.5293 MB / 0.8014 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.926e-05/0.2313, allocations: 40 kB / 0.8014 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.2328, allocations: 0.998 MB / 0.8024 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.2331, allocations: 307.1 kB / 0.8027 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.2334, allocations: 411.6 kB / 0.8031 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.2348, allocations: 1.417 MB / 0.8044 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2348, allocations: 0 / 0.8044 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2348, allocations: 0 / 0.8044 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.2348, allocations: 0 / 0.8044 GB, free: 10.54 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001712/0.2365, allocations: 1.021 MB / 0.8054 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2366, allocations: 15.97 kB / 0.8055 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.2367, allocations: 114.7 kB / 0.8056 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009508/0.2462, allocations: 1.692 MB / 0.8072 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009256/0.2472, allocations: 0.6196 MB / 0.8078 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.2472, allocations: 41.67 kB / 0.8079 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.2474, allocations: 68.34 kB / 0.8079 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004701/0.2521, allocations: 1.921 MB / 0.8098 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.2521, allocations: 3.938 kB / 0.8098 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.2523, allocations: 23.98 kB / 0.8098 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003335/0.2526, allocations: 153.4 kB / 0.81 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007687/0.2603, allocations: 2.616 MB / 0.8125 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008847/0.2692, allocations: 6.672 MB / 0.819 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00321/0.2724, allocations: 1.258 MB / 0.8203 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/0.2749, allocations: 0.9115 MB / 0.8212 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001867/0.2768, allocations: 1.491 MB / 0.8226 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.2768, allocations: 38.56 kB / 0.8227 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.565e-06/0.2768, allocations: 0 / 0.8227 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.02695/0.3038, allocations: 8.253 MB / 0.8307 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3039, allocations: 86.11 kB / 0.8308 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007258/0.3046, allocations: 0.5847 MB / 0.8314 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.3048, allocations: 45.7 kB / 0.8314 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.3051, allocations: 411 kB / 0.8318 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.3054, allocations: 378.6 kB / 0.8322 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.3056, allocations: 105.7 kB / 0.8323 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3058, allocations: 390.7 kB / 0.8326 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00303/0.3088, allocations: 1.111 MB / 0.8337 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003281/0.3121, allocations: 1.464 MB / 0.8352 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006132/0.3183, allocations: 2.6 MB / 0.8377 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.3183, allocations: 4 kB / 0.8377 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01099/0.3293, allocations: 3.897 MB / 0.8415 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002592/0.3296, allocations: 399.1 kB / 0.8419 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.3296, allocations: 12 kB / 0.8419 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005311/0.335, allocations: 1.38 MB / 0.8432 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/0.337, allocations: 455.2 kB / 0.8437 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/0.352, allocations: 11.26 MB / 0.8547 GB, free: 5.344 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/0.3543, allocations: 311.6 kB / 0.855 GB, free: 5.039 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.3545, allocations: 63.97 kB / 0.855 GB, free: 4.977 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.3545, allocations: 7.938 kB / 0.855 GB, free: 4.969 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01027/0.3648, allocations: 3.576 MB / 0.8585 GB, free: 1.375 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-05/0.3649, allocations: 8 kB / 0.8585 GB, free: 1.367 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004102/0.369, allocations: 1.1 MB / 0.8596 GB, free: 260 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.3712, allocations: 479.2 kB / 0.8601 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.3841, allocations: 10.35 MB / 0.8702 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/0.3864, allocations: 299.6 kB / 0.8705 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.3866, allocations: 71.95 kB / 0.8705 GB, free: 4.527 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006651/0.3873, allocations: 373.4 kB / 0.8709 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.3875, allocations: 86.91 kB / 0.871 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/0.3987, allocations: 3.778 MB / 0.8747 GB, free: 264 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.3987, allocations: 8 kB / 0.8747 GB, free: 256 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/0.3988, allocations: 12 kB / 0.8747 GB, free: 244 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.3988, allocations: 8.062 kB / 0.8747 GB, free: 236 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.4122, allocations: 5.476 MB / 0.88 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.4122, allocations: 4.688 kB / 0.88 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/0.414, allocations: 367.4 kB / 0.8804 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004799/0.4188, allocations: 1.24 MB / 0.8816 GB, free: 9 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.419, allocations: 43.97 kB / 0.8816 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/0.4337, allocations: 10.74 MB / 0.8921 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.4337, allocations: 15.88 kB / 0.8922 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.4439, allocations: 3.685 MB / 0.8957 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006307/0.4445, allocations: 343.8 kB / 0.8961 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.4447, allocations: 24 kB / 0.8961 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/0.4468, allocations: 327.5 kB / 0.8964 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/0.4471, allocations: 104.1 kB / 0.8965 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.4472, allocations: 43.97 kB / 0.8966 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004873/0.4477, allocations: 406.8 kB / 0.8969 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4477, allocations: 0 / 0.8969 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002143/0.4498, allocations: 0.5977 MB / 0.8975 GB, free: 8.043 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01027/0.4601, allocations: 4.268 MB / 0.9017 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01437/0.4745, allocations: 5.723 MB / 0.9073 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.4746, allocations: 0 / 0.9073 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005385/0.48, allocations: 2.118 MB / 0.9094 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.4819, allocations: 159 kB / 0.9095 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3842/0.8661, allocations: 16.23 MB / 0.9254 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.8672, allocations: 1.107 MB / 0.9264 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002343/0.8696, allocations: 0.5415 MB / 0.927 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007888/0.8704, allocations: 301.2 kB / 0.9273 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.412e-06/0.8704, allocations: 0 / 0.9273 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05728/0.9277, allocations: 33.5 MB / 0.96 GB, free: 114 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.9279, allocations: 275.1 kB / 0.9602 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.409, allocations: 2.438 kB / 0.9602 GB, free: 113.6 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1)