Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 181.7 kB / 326.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009365/0.0009363, allocations: 99.06 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 10.78 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2666, allocations: 106.4 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.0147/0.2813, allocations: 15.84 MB / 0.9158 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009054/0.2904, allocations: 5.888 MB / 0.9215 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.2924, allocations: 39.88 kB / 0.9216 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.2945, allocations: 317.7 kB / 0.9219 GB, free: 41.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004154/0.2987, allocations: 0.8325 MB / 0.9227 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.3021, allocations: 0.6603 MB / 0.9233 GB, free: 40.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005631/0.3077, allocations: 5.118 MB / 0.9283 GB, free: 35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.3183, allocations: 5.954 MB / 0.9341 GB, free: 28.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003871/0.3222, allocations: 1.37 MB / 0.9355 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003528/0.3258, allocations: 1.963 MB / 0.9374 GB, free: 25.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005178/0.3263, allocations: 199.9 kB / 0.9376 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.3282, allocations: 0.597 MB / 0.9382 GB, free: 24.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.3296, allocations: 1.466 MB / 0.9396 GB, free: 23.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007146/0.3303, allocations: 0.5745 MB / 0.9402 GB, free: 22.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004145/0.3344, allocations: 5.498 MB / 0.9455 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3345, allocations: 8 kB / 0.9455 GB, free: 17.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.775e-06/0.3345, allocations: 0 / 0.9455 GB, free: 17.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001531/0.3347, allocations: 0 / 0.9455 GB, free: 17.28 MB / 0.6042 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.005651/0.3403, allocations: 2.513 MB / 0.948 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.3404, allocations: 8.031 kB / 0.948 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008622/0.3412, allocations: 454.2 kB / 0.9484 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.3524, allocations: 2.177 MB / 0.9506 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0039/0.3563, allocations: 1.683 MB / 0.9522 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.3565, allocations: 217.9 kB / 0.9524 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.3576, allocations: 291.9 kB / 0.9527 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.3705, allocations: 5.895 MB / 0.9585 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-05/0.3707, allocations: 0 / 0.9585 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.371, allocations: 124 kB / 0.9586 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004044/0.3714, allocations: 254 kB / 0.9588 GB, free: 3.488 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01421/0.3857, allocations: 6.089 MB / 0.9648 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03106/0.4168, allocations: 22.51 MB / 0.9867 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00569/0.4225, allocations: 2.537 MB / 0.9892 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004396/0.427, allocations: 1.701 MB / 0.9909 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/0.4273, allocations: 110.1 kB / 0.991 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.4274, allocations: 47.5 kB / 0.991 GB, free: 436 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=122): time 4.929e-06/0.4274, allocations: 0 / 0.991 GB, free: 436 kB / 0.6355 GB Notification: Performance of matching and sorting (n=173): time 0.0532/0.4806, allocations: 14.57 MB / 1.005 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.4807, allocations: 77.41 kB / 1.005 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/0.4837, allocations: 1.139 MB / 1.006 GB, free: 0.5234 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006376/0.4844, allocations: 57.7 kB / 1.007 GB, free: 472 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.486, allocations: 1.262 MB / 1.008 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001392/0.4874, allocations: 0.597 MB / 1.008 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004965/0.4879, allocations: 48 kB / 1.008 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0004192/0.4884, allocations: 447.5 kB / 1.009 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006049/0.4944, allocations: 2.011 MB / 1.011 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00596/0.5004, allocations: 2.734 MB / 1.013 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005651/0.5061, allocations: 2.356 MB / 1.016 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.059e-05/0.5062, allocations: 7.938 kB / 1.016 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01713/0.5233, allocations: 6.223 MB / 1.022 GB, free: 408 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007102/0.5241, allocations: 0.7519 MB / 1.023 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-05/0.5242, allocations: 20 kB / 1.023 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005537/0.5297, allocations: 1.539 MB / 1.024 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003684/0.5335, allocations: 0.7604 MB / 1.025 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02346/0.557, allocations: 17.4 MB / 1.042 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/0.5608, allocations: 487 kB / 1.042 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005928/0.5614, allocations: 116 kB / 1.042 GB, free: 10.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5615, allocations: 4 kB / 1.042 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0158/0.5773, allocations: 6.054 MB / 1.048 GB, free: 4.113 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.137e-05/0.5774, allocations: 20 kB / 1.048 GB, free: 4.094 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004517/0.5819, allocations: 1.453 MB / 1.05 GB, free: 2.621 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003546/0.5855, allocations: 0.7643 MB / 1.05 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5439/1.129, allocations: 17.19 MB / 1.067 GB, free: 128.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/1.133, allocations: 466 kB / 1.068 GB, free: 128.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004614/1.133, allocations: 119.4 kB / 1.068 GB, free: 128.1 MB / 0.698 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.002928/1.136, allocations: 1.324 MB / 1.069 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004793/1.137, allocations: 141.8 kB / 1.069 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/1.153, allocations: 5.809 MB / 1.075 GB, free: 127.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.889e-05/1.153, allocations: 15.78 kB / 1.075 GB, free: 127.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.132e-05/1.153, allocations: 15.47 kB / 1.075 GB, free: 127.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-05/1.153, allocations: 7.688 kB / 1.075 GB, free: 127.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01988/1.173, allocations: 9.6 MB / 1.084 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.173, allocations: 9.062 kB / 1.084 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.176, allocations: 0.5184 MB / 1.085 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003666/1.179, allocations: 1.27 MB / 1.086 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002528/1.18, allocations: 53.02 kB / 1.086 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/1.199, allocations: 16.59 MB / 1.102 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/1.199, allocations: 7 kB / 1.102 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/1.211, allocations: 5.045 MB / 1.107 GB, free: 107.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1.212, allocations: 0.5493 MB / 1.108 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005364/1.213, allocations: 43.98 kB / 1.108 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002707/1.216, allocations: 435.2 kB / 1.108 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000493/1.216, allocations: 152.9 kB / 1.108 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.217, allocations: 63.97 kB / 1.108 GB, free: 106.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00132/1.218, allocations: 0.809 MB / 1.109 GB, free: 105.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.218, allocations: 0 / 1.109 GB, free: 105.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006075/1.224, allocations: 1.266 MB / 1.111 GB, free: 104.6 MB / 0.698 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.0126/1.237, allocations: 5.655 MB / 1.116 GB, free: 98.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02255/1.259, allocations: 9.474 MB / 1.125 GB, free: 89.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.431e-05/1.259, allocations: 0 / 1.125 GB, free: 89.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007927/1.267, allocations: 3.279 MB / 1.128 GB, free: 85.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/1.27, allocations: 228 kB / 1.129 GB, free: 85.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04987/1.319, allocations: 20.23 MB / 1.148 GB, free: 64.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002906/1.322, allocations: 2.379 MB / 1.151 GB, free: 62.31 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004276/1.327, allocations: 1.248 MB / 1.152 GB, free: 61.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/1.328, allocations: 0.9288 MB / 1.153 GB, free: 60.13 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/1.328, allocations: 0 / 1.153 GB, free: 60.13 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08956/1.418, allocations: 61.58 MB / 1.213 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003815/1.418, allocations: 255.3 kB / 1.213 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.732/5.151, allocations: 2.812 kB / 1.213 GB, free: 14.62 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)