Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",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.0008816/0.0008816, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009027/0.0009029, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.8/1.8, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005765/0.0005767, allocations: 18.19 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3033, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.01812/0.3214, allocations: 15.84 MB / 0.8029 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3324, allocations: 5.88 MB / 0.8086 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.3343, allocations: 43.88 kB / 0.8087 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000942/0.3352, allocations: 317.7 kB / 0.809 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.3381, allocations: 0.8247 MB / 0.8098 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.3405, allocations: 0.6549 MB / 0.8104 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00664/0.3471, allocations: 5.13 MB / 0.8154 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/0.3573, allocations: 5.953 MB / 0.8212 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/0.3612, allocations: 1.37 MB / 0.8226 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00442/0.3657, allocations: 1.959 MB / 0.8245 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005448/0.3662, allocations: 192 kB / 0.8247 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.3681, allocations: 0.6048 MB / 0.8253 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001701/0.3698, allocations: 1.469 MB / 0.8267 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008101/0.3707, allocations: 0.5706 MB / 0.8273 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005579/0.3762, allocations: 5.502 MB / 0.8326 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3763, allocations: 4 kB / 0.8326 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3763, allocations: 0 / 0.8326 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001436/0.3764, allocations: 0 / 0.8326 GB, free: 13.36 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.006822/0.3833, allocations: 2.517 MB / 0.8351 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.3833, allocations: 8.031 kB / 0.8351 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001042/0.3844, allocations: 454.2 kB / 0.8355 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.3952, allocations: 2.177 MB / 0.8377 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004829/0.4001, allocations: 1.691 MB / 0.8393 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.4003, allocations: 217.8 kB / 0.8395 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009459/0.4013, allocations: 288 kB / 0.8398 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/0.4163, allocations: 5.891 MB / 0.8455 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-05/0.4164, allocations: 0 / 0.8455 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003909/0.4168, allocations: 123.9 kB / 0.8457 GB, free: 15.81 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00045/0.4173, allocations: 261.8 kB / 0.8459 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/0.4326, allocations: 6.085 MB / 0.8519 GB, free: 9.457 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03314/0.4658, allocations: 22.51 MB / 0.8738 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005019/0.4709, allocations: 2.53 MB / 0.8763 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004055/0.4749, allocations: 1.713 MB / 0.878 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.4752, allocations: 110 kB / 0.8781 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.4753, allocations: 47.56 kB / 0.8781 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=122): time 4.048e-06/0.4753, allocations: 0 / 0.8781 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of matching and sorting (n=173): time 0.0463/0.5216, allocations: 14.57 MB / 0.8924 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.5217, allocations: 69.41 kB / 0.8924 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.5234, allocations: 1.147 MB / 0.8935 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002697/0.5237, allocations: 53.7 kB / 0.8936 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009308/0.5247, allocations: 1.262 MB / 0.8948 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006836/0.5253, allocations: 0.597 MB / 0.8954 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.5255, allocations: 48 kB / 0.8955 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002854/0.5258, allocations: 447.5 kB / 0.8959 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004453/0.5303, allocations: 2.015 MB / 0.8979 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005156/0.5355, allocations: 2.726 MB / 0.9005 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005039/0.5405, allocations: 2.363 MB / 0.9028 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/0.5406, allocations: 4 kB / 0.9028 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01441/0.555, allocations: 6.226 MB / 0.9089 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007648/0.5558, allocations: 0.75 MB / 0.9096 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.981e-05/0.5558, allocations: 24 kB / 0.9097 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004682/0.5605, allocations: 1.542 MB / 0.9112 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/0.5638, allocations: 0.7565 MB / 0.9119 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6191/1.183, allocations: 17.38 MB / 0.9289 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003601/1.187, allocations: 491.1 kB / 0.9294 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004163/1.187, allocations: 118.4 kB / 0.9295 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/1.187, allocations: 3.281 kB / 0.9295 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0145/1.202, allocations: 6.046 MB / 0.9354 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/1.202, allocations: 23.06 kB / 0.9354 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004242/1.206, allocations: 1.456 MB / 0.9368 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003546/1.21, allocations: 0.7588 MB / 0.9376 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0225/1.232, allocations: 17.21 MB / 0.9544 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/1.235, allocations: 460.9 kB / 0.9548 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007081/1.236, allocations: 119.7 kB / 0.9549 GB, free: 104.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (235): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003455/1.24, allocations: 1.325 MB / 0.9562 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007295/1.24, allocations: 136.9 kB / 0.9563 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/1.256, allocations: 5.811 MB / 0.962 GB, free: 102.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/1.256, allocations: 17.44 kB / 0.962 GB, free: 102.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.507e-05/1.256, allocations: 19.11 kB / 0.962 GB, free: 102.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/1.256, allocations: 7.125 kB / 0.9621 GB, free: 102.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/1.276, allocations: 9.6 MB / 0.9714 GB, free: 96.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.77e-05/1.276, allocations: 9.5 kB / 0.9714 GB, free: 96.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/1.278, allocations: 0.5239 MB / 0.9719 GB, free: 96.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003572/1.282, allocations: 1.266 MB / 0.9732 GB, free: 95.67 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002663/1.282, allocations: 52.69 kB / 0.9732 GB, free: 95.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01652/1.299, allocations: 16.59 MB / 0.9894 GB, free: 81.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.299, allocations: 11.98 kB / 0.9894 GB, free: 81.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/1.31, allocations: 5.049 MB / 0.9944 GB, free: 75.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.311, allocations: 0.5434 MB / 0.9949 GB, free: 75.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000584/1.311, allocations: 36 kB / 0.9949 GB, free: 75.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.314, allocations: 435.3 kB / 0.9954 GB, free: 74.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006903/1.315, allocations: 156.9 kB / 0.9955 GB, free: 74.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002807/1.315, allocations: 63.95 kB / 0.9956 GB, free: 74.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001962/1.317, allocations: 0.8129 MB / 0.9964 GB, free: 73.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.21e-07/1.317, allocations: 0 / 0.9964 GB, free: 73.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.008196/1.325, allocations: 1.266 MB / 0.9976 GB, free: 72.51 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (104): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01145/1.337, allocations: 5.653 MB / 1.003 GB, free: 66.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01892/1.356, allocations: 9.474 MB / 1.012 GB, free: 57.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/1.356, allocations: 3.938 kB / 1.012 GB, free: 57.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006642/1.363, allocations: 3.288 MB / 1.016 GB, free: 53.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/1.365, allocations: 224.1 kB / 1.016 GB, free: 53.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.048/1.413, allocations: 20.23 MB / 1.036 GB, free: 32.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003228/1.416, allocations: 2.371 MB / 1.038 GB, free: 30.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003988/1.42, allocations: 1.259 MB / 1.039 GB, free: 28.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/1.422, allocations: 0.9288 MB / 1.04 GB, free: 28.06 MB / 0.7325 GB Notification: Performance of SimCode: time 1.122e-06/1.422, allocations: 0 / 1.04 GB, free: 28.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09894/1.521, allocations: 61.56 MB / 1.1 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/1.521, allocations: 244.7 kB / 1.1 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.386/4.907, allocations: 3.125 kB / 1.1 GB, free: 14.71 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) Environment - environmentSimulation: