Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.614/2.614, allocations: 287.5 MB / 302.4 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 180.7 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009771/0.0009767, allocations: 97.33 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004819, allocations: 11.42 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2371, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.0226/0.2597, allocations: 14.24 MB / 0.9924 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.2746, allocations: 5.455 MB / 0.9977 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.2759, allocations: 31.94 kB / 0.9977 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008943/0.2768, allocations: 278 kB / 0.998 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.2794, allocations: 0.7586 MB / 0.9987 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.2816, allocations: 0.5824 MB / 0.9993 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005431/0.2871, allocations: 4.591 MB / 1.004 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01189/0.299, allocations: 5.417 MB / 1.009 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.3021, allocations: 1.226 MB / 1.01 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004148/0.3063, allocations: 1.768 MB / 1.012 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006723/0.307, allocations: 180 kB / 1.012 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.3093, allocations: 0.5853 MB / 1.013 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002094/0.3114, allocations: 1.341 MB / 1.014 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009083/0.3123, allocations: 0.5161 MB / 1.015 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007365/0.3197, allocations: 4.975 MB / 1.019 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3197, allocations: 0 / 1.019 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3197, allocations: 4 kB / 1.019 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001063/0.3199, allocations: 0 / 1.019 GB, free: 2.164 MB / 0.6355 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.007475/0.3273, allocations: 2.317 MB / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3274, allocations: 8.031 kB / 1.022 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/0.3285, allocations: 420.6 kB / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.019/0.3475, allocations: 1.998 MB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004771/0.3523, allocations: 1.51 MB / 1.026 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.3526, allocations: 201.5 kB / 1.026 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.3538, allocations: 268 kB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/0.3735, allocations: 5.443 MB / 1.031 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.983e-05/0.3736, allocations: 7.938 kB / 1.031 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000551/0.3742, allocations: 112 kB / 1.031 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005835/0.3748, allocations: 196.5 kB / 1.032 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02432/0.3991, allocations: 5.673 MB / 1.037 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05221/0.4514, allocations: 21.27 MB / 1.058 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01593/0.4674, allocations: 2.999 MB / 1.061 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01539/0.4828, allocations: 2.118 MB / 1.063 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005699/0.4834, allocations: 122 kB / 1.063 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.872e-05/0.4836, allocations: 55.5 kB / 1.063 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=139): time 7.263e-06/0.4836, allocations: 4 kB / 1.063 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of matching and sorting (n=181): time 0.7519/1.235, allocations: 12.93 MB / 1.076 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.236, allocations: 226.8 kB / 1.076 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/1.238, allocations: 0.9753 MB / 1.077 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004444/1.238, allocations: 55.83 kB / 1.077 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008983/1.239, allocations: 1.098 MB / 1.078 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001007/1.24, allocations: 0.6213 MB / 1.079 GB, free: 79.78 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000295/1.24, allocations: 45.94 kB / 1.079 GB, free: 79.74 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002585/1.241, allocations: 434.2 kB / 1.079 GB, free: 79.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008856/1.25, allocations: 1.901 MB / 1.081 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009389/1.259, allocations: 2.487 MB / 1.083 GB, free: 77.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009545/1.269, allocations: 2.212 MB / 1.085 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.719e-05/1.269, allocations: 4.562 kB / 1.085 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.02427/1.293, allocations: 5.48 MB / 1.091 GB, free: 75.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004257/1.293, allocations: 0.6122 MB / 1.091 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/1.294, allocations: 18.22 kB / 1.091 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005846/1.299, allocations: 1.219 MB / 1.093 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006623/1.306, allocations: 0.7522 MB / 1.093 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02246/1.329, allocations: 10.49 MB / 1.104 GB, free: 67.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005762/1.334, allocations: 454.9 kB / 1.104 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006123/1.335, allocations: 114.1 kB / 1.104 GB, free: 67.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.335, allocations: 4 kB / 1.104 GB, free: 67.69 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02299/1.358, allocations: 5.325 MB / 1.109 GB, free: 64.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-05/1.358, allocations: 19.05 kB / 1.109 GB, free: 64.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004565/1.363, allocations: 0.9538 MB / 1.11 GB, free: 64.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007474/1.37, allocations: 0.7452 MB / 1.111 GB, free: 64.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0213/1.392, allocations: 10.33 MB / 1.121 GB, free: 56.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005271/1.397, allocations: 446.8 kB / 1.122 GB, free: 56.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000536/1.398, allocations: 112 kB / 1.122 GB, free: 56.61 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (220): * Single equations (assignments): 218 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,83.3%) 30,(6,83.3%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003074/1.401, allocations: 1.225 MB / 1.123 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006758/1.401, allocations: 121.3 kB / 1.123 GB, free: 55.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/1.422, allocations: 5.202 MB / 1.128 GB, free: 51.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-05/1.422, allocations: 20 kB / 1.128 GB, free: 51.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-05/1.422, allocations: 12 kB / 1.128 GB, free: 51.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.749e-05/1.423, allocations: 7.969 kB / 1.128 GB, free: 51.06 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02856/1.451, allocations: 8.86 MB / 1.137 GB, free: 42.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/1.451, allocations: 8 kB / 1.137 GB, free: 42.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004795/1.456, allocations: 0.539 MB / 1.137 GB, free: 41.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004491/1.46, allocations: 0.9618 MB / 1.138 GB, free: 40.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004171/1.461, allocations: 59.95 kB / 1.138 GB, free: 40.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/1.481, allocations: 9.948 MB / 1.148 GB, free: 30.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/1.481, allocations: 11.95 kB / 1.148 GB, free: 30.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/1.499, allocations: 4.822 MB / 1.153 GB, free: 25.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.501, allocations: 0.5305 MB / 1.153 GB, free: 24.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005153/1.501, allocations: 43.98 kB / 1.153 GB, free: 24.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004825/1.506, allocations: 403.4 kB / 1.154 GB, free: 24.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005527/1.507, allocations: 164.8 kB / 1.154 GB, free: 24.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002623/1.507, allocations: 71.95 kB / 1.154 GB, free: 24.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001338/1.509, allocations: 0.7137 MB / 1.155 GB, free: 23.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/1.509, allocations: 3.609 kB / 1.155 GB, free: 23.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006309/1.515, allocations: 1.185 MB / 1.156 GB, free: 22.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 107 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(7,63.3%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01952/1.534, allocations: 5.43 MB / 1.161 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.03354/1.568, allocations: 8.118 MB / 1.169 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/1.568, allocations: 0 / 1.169 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01123/1.579, allocations: 2.676 MB / 1.172 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.582, allocations: 190.8 kB / 1.172 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07423/1.656, allocations: 18.18 MB / 1.19 GB, free: 2.836 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004845/1.661, allocations: 2.236 MB / 1.192 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.007269/1.668, allocations: 1.28 MB / 1.193 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002536/1.671, allocations: 0.8092 MB / 1.194 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of SimCode: time 1.513e-06/1.671, allocations: 3.062 kB / 1.194 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1758/1.847, allocations: 51.69 MB / 1.244 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003387/1.847, allocations: 240.1 kB / 1.244 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.204/6.052, allocations: 4 kB / 1.244 GB, free: 10.84 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)