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.TransformerDD.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.TransformerDD,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",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.416/1.416, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001095/0.001095, allocations: 178.9 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.4 MB / 0.5775 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.0009597/0.0009597, allocations: 103.7 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 9.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2526, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01214/0.2648, allocations: 13.93 MB / 0.9138 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00767/0.2725, allocations: 5.428 MB / 0.9191 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.2739, allocations: 31.94 kB / 0.9191 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007821/0.2747, allocations: 302.2 kB / 0.9194 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.2767, allocations: 0.5958 MB / 0.92 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.2786, allocations: 0.6225 MB / 0.9206 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002222/0.2808, allocations: 1.688 MB / 0.9222 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006833/0.2877, allocations: 5.404 MB / 0.9275 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.2894, allocations: 0.9931 MB / 0.9285 GB, free: 34.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.2907, allocations: 1.172 MB / 0.9296 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.291, allocations: 180 kB / 0.9298 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.2921, allocations: 0.5696 MB / 0.9303 GB, free: 32.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008364/0.293, allocations: 1.236 MB / 0.9316 GB, free: 31.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004779/0.2934, allocations: 0.5083 MB / 0.9321 GB, free: 31.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003528/0.297, allocations: 4.972 MB / 0.9369 GB, free: 26.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.297, allocations: 0 / 0.9369 GB, free: 26.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.136e-06/0.297, allocations: 3.938 kB / 0.9369 GB, free: 26.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001403/0.2972, allocations: 4 kB / 0.9369 GB, free: 26.07 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.004966/0.3021, allocations: 2.314 MB / 0.9392 GB, free: 23.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.3022, allocations: 8.031 kB / 0.9392 GB, free: 23.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005712/0.3028, allocations: 420.5 kB / 0.9396 GB, free: 23.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.3129, allocations: 2.068 MB / 0.9416 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/0.3166, allocations: 1.51 MB / 0.9431 GB, free: 19.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.3167, allocations: 205.5 kB / 0.9433 GB, free: 19.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004636/0.3172, allocations: 268 kB / 0.9435 GB, free: 19.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009493/0.3267, allocations: 5.416 MB / 0.9488 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/0.3268, allocations: 4 kB / 0.9488 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003021/0.3271, allocations: 112 kB / 0.9489 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002668/0.3273, allocations: 196.5 kB / 0.9491 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.3385, allocations: 5.677 MB / 0.9547 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02548/0.364, allocations: 21.24 MB / 0.9754 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005709/0.3698, allocations: 3.009 MB / 0.9783 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.37, allocations: 126 kB / 0.9785 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/0.37, allocations: 55.5 kB / 0.9785 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=139): time 4.779e-06/0.3701, allocations: 0 / 0.9785 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=139): time 0.01807/0.3881, allocations: 6.039 MB / 0.9844 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000179/0.3884, allocations: 230.5 kB / 0.9846 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.3902, allocations: 0.9726 MB / 0.9856 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002467/0.3905, allocations: 45.7 kB / 0.9856 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.3916, allocations: 1.103 MB / 0.9867 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006812/0.3923, allocations: 493.1 kB / 0.9872 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.3924, allocations: 40 kB / 0.9872 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002871/0.3927, allocations: 422.7 kB / 0.9876 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004666/0.3974, allocations: 1.678 MB / 0.9893 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004879/0.4023, allocations: 2.235 MB / 0.9914 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004839/0.4071, allocations: 1.95 MB / 0.9933 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/0.4072, allocations: 8 kB / 0.9933 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01172/0.4189, allocations: 4.501 MB / 0.9977 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.003335/0.4223, allocations: 6.702 MB / 1.004 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.607e-05/0.4224, allocations: 20 kB / 1.004 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.4243, allocations: 0.6058 MB / 1.005 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003505/0.4278, allocations: 0.737 MB / 1.006 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008128/0.4359, allocations: 5.134 MB / 1.011 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/0.4395, allocations: 0.5638 MB / 1.011 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005735/0.4401, allocations: 104 kB / 1.011 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4401, allocations: 4 kB / 1.011 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01168/0.4518, allocations: 4.348 MB / 1.016 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-05/0.4519, allocations: 16 kB / 1.016 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.453, allocations: 434 kB / 1.016 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/0.4564, allocations: 0.737 MB / 1.017 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007055/0.4635, allocations: 4.975 MB / 1.022 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003199/0.4667, allocations: 0.5096 MB / 1.022 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004445/0.4672, allocations: 99.95 kB / 1.022 GB, free: 15.32 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (213): * Single equations (assignments): 212 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002605/0.4698, allocations: 1.164 MB / 1.023 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006351/0.4704, allocations: 118.6 kB / 1.023 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/0.4815, allocations: 4.064 MB / 1.027 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.4816, allocations: 12 kB / 1.027 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/0.4816, allocations: 11.98 kB / 1.027 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.4816, allocations: 11.97 kB / 1.027 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/0.4982, allocations: 7.231 MB / 1.034 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/0.4983, allocations: 11.95 kB / 1.034 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/0.5007, allocations: 0.5231 MB / 1.035 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.5019, allocations: 441.7 kB / 1.035 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.5021, allocations: 47.95 kB / 1.035 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00722/0.5093, allocations: 5.03 MB / 1.04 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.5094, allocations: 7.938 kB / 1.04 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009688/0.5191, allocations: 4.079 MB / 1.044 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.5203, allocations: 0.4914 MB / 1.045 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/0.5207, allocations: 35.98 kB / 1.045 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002519/0.5232, allocations: 375.4 kB / 1.045 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.5235, allocations: 112.8 kB / 1.045 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/0.5236, allocations: 59.89 kB / 1.045 GB, free: 6.965 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001182/0.5248, allocations: 0.7215 MB / 1.046 GB, free: 6.246 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5248, allocations: 0 / 1.046 GB, free: 6.246 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004449/0.5293, allocations: 1.385 MB / 1.047 GB, free: 4.855 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (98): * Single equations (assignments): 97 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5567/1.086, allocations: 6.113 MB / 1.053 GB, free: 137.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01693/1.103, allocations: 6.457 MB / 1.06 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.103, allocations: 0.7812 kB / 1.06 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006182/1.109, allocations: 1.967 MB / 1.062 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/1.11, allocations: 154.8 kB / 1.062 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04328/1.154, allocations: 27.58 MB / 1.089 GB, free: 122.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/1.156, allocations: 2.148 MB / 1.091 GB, free: 121.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00397/1.16, allocations: 1.26 MB / 1.092 GB, free: 121 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/1.161, allocations: 0.759 MB / 1.093 GB, free: 120.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.01e-07/1.161, allocations: 0.5312 kB / 1.093 GB, free: 120.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06361/1.225, allocations: 40.29 MB / 1.132 GB, free: 85.46 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/1.225, allocations: 246.3 kB / 1.132 GB, free: 85.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.877/4.102, allocations: 0 / 1.132 GB, free: 85.18 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)