Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.TransformerStepDownDY,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",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.00138/0.001381, allocations: 100 kB / 15.05 MB, free: 1.105 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.00155/0.00155, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.99/1.99, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005658/0.0005656, allocations: 17.06 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3446, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY): time 0.02944/0.3741, allocations: 15.08 MB / 0.802 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01461/0.3888, allocations: 5.681 MB / 0.8075 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.391, allocations: 35.94 kB / 0.8075 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.3925, allocations: 334 kB / 0.8079 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005403/0.3979, allocations: 0.623 MB / 0.8085 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007756/0.4058, allocations: 0.6348 MB / 0.8091 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01177/0.4176, allocations: 1.786 MB / 0.8108 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01743/0.4352, allocations: 6.288 MB / 0.817 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.4386, allocations: 1.079 MB / 0.818 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/0.4425, allocations: 1.258 MB / 0.8193 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008652/0.4434, allocations: 196 kB / 0.8194 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.4464, allocations: 0.5814 MB / 0.82 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002663/0.4491, allocations: 1.341 MB / 0.8213 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001877/0.451, allocations: 0.5707 MB / 0.8219 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.4634, allocations: 5.567 MB / 0.8273 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.4635, allocations: 0 / 0.8273 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.457e-05/0.4636, allocations: 4 kB / 0.8273 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003069/0.4639, allocations: 3.938 kB / 0.8273 GB, free: 2.676 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.0129/0.4768, allocations: 2.483 MB / 0.8297 GB, free: 136 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.662e-05/0.4769, allocations: 12.03 kB / 0.8298 GB, free: 124 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002367/0.4793, allocations: 466.6 kB / 0.8302 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02451/0.5038, allocations: 2.087 MB / 0.8322 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006904/0.5108, allocations: 1.631 MB / 0.8338 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005351/0.5114, allocations: 234.1 kB / 0.8341 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002215/0.5137, allocations: 300 kB / 0.8343 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03232/0.546, allocations: 5.873 MB / 0.8401 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/0.5463, allocations: 4 kB / 0.8401 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002019/0.5483, allocations: 128 kB / 0.8402 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007787/0.5491, allocations: 209 kB / 0.8404 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03153/0.5807, allocations: 5.951 MB / 0.8462 GB, free: 15.09 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06545/0.6462, allocations: 23.03 MB / 0.8687 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.657, allocations: 2.562 MB / 0.8712 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004782/0.6576, allocations: 114.1 kB / 0.8713 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.789e-05/0.6577, allocations: 55.48 kB / 0.8714 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=123): time 8.436e-06/0.6578, allocations: 0 / 0.8714 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=123): time 0.02845/0.6862, allocations: 5.14 MB / 0.8764 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/0.6865, allocations: 218.6 kB / 0.8766 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.6892, allocations: 1.067 MB / 0.8776 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0005045/0.6898, allocations: 45.64 kB / 0.8777 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0017/0.6915, allocations: 1.262 MB / 0.8789 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/0.6929, allocations: 441.8 kB / 0.8793 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.6932, allocations: 40 kB / 0.8794 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0003833/0.6936, allocations: 418.7 kB / 0.8798 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008251/0.7019, allocations: 1.643 MB / 0.8814 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009324/0.7113, allocations: 2.311 MB / 0.8836 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.7218, allocations: 1.942 MB / 0.8855 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.44e-05/0.7219, allocations: 4.656 kB / 0.8855 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.02151/0.7434, allocations: 4.409 MB / 0.8898 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.007082/0.7506, allocations: 8.442 MB / 0.8981 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/0.7508, allocations: 24 kB / 0.8981 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/0.7538, allocations: 426.2 kB / 0.8985 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007346/0.7612, allocations: 0.7643 MB / 0.8993 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.7738, allocations: 6.28 MB / 0.9054 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006456/0.7803, allocations: 0.5713 MB / 0.906 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009486/0.7814, allocations: 107.9 kB / 0.9061 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.7814, allocations: 4 kB / 0.9061 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02204/0.8035, allocations: 4.268 MB / 0.9102 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001368/0.8037, allocations: 20 kB / 0.9102 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.8053, allocations: 322.9 kB / 0.9106 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006645/0.8119, allocations: 0.7682 MB / 0.9113 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.8235, allocations: 6.065 MB / 0.9172 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005771/0.8293, allocations: 0.5097 MB / 0.9177 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007771/0.8302, allocations: 104 kB / 0.9178 GB, free: 1.609 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (231): * Single equations (assignments): 228 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004206/0.8344, allocations: 1.3 MB / 0.9191 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008436/0.8353, allocations: 110.7 kB / 0.9192 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7246/1.56, allocations: 3.738 MB / 0.9228 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/1.56, allocations: 12.5 kB / 0.9229 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/1.56, allocations: 5.312 kB / 0.9229 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.783e-05/1.56, allocations: 11.11 kB / 0.9229 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/1.577, allocations: 6.974 MB / 0.9297 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.577, allocations: 6 kB / 0.9297 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/1.579, allocations: 0.5067 MB / 0.9302 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009178/1.58, allocations: 334 kB / 0.9305 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/1.58, allocations: 44.3 kB / 0.9305 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00611/1.586, allocations: 6.154 MB / 0.9366 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/1.586, allocations: 10.66 kB / 0.9366 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.596, allocations: 3.814 MB / 0.9403 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.598, allocations: 485.5 kB / 0.9408 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/1.598, allocations: 27.06 kB / 0.9408 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002457/1.6, allocations: 378.7 kB / 0.9411 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/1.601, allocations: 96.67 kB / 0.9412 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001834/1.601, allocations: 52.28 kB / 0.9413 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001441/1.602, allocations: 0.7687 MB / 0.942 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/1.602, allocations: 3.688 kB / 0.942 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005112/1.607, allocations: 1.462 MB / 0.9435 GB, free: 114.2 MB / 0.7325 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 (96): * Single equations (assignments): 93 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01007/1.617, allocations: 5.846 MB / 0.9492 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01644/1.634, allocations: 6.537 MB / 0.9556 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.634, allocations: 0 / 0.9556 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004888/1.639, allocations: 2.033 MB / 0.9575 GB, free: 107 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/1.64, allocations: 148.8 kB / 0.9577 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0398/1.68, allocations: 30.89 MB / 0.9879 GB, free: 81.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/1.682, allocations: 2.289 MB / 0.9901 GB, free: 79.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00385/1.686, allocations: 1.275 MB / 0.9913 GB, free: 78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.687, allocations: 0.839 MB / 0.9922 GB, free: 77.16 MB / 0.7325 GB Notification: Performance of SimCode: time 1.603e-06/1.687, allocations: 0 / 0.9922 GB, free: 77.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0583/1.745, allocations: 39.41 MB / 1.031 GB, free: 38.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/1.745, allocations: 252.2 kB / 1.031 GB, free: 37.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/4.493, allocations: 4 kB / 1.031 GB, free: 37.84 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) Environment - environmentSimulation: