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.TransformerStepDownDY.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.TransformerStepDownDY,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.534/1.534, 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.001211/0.001211, allocations: 184.9 kB / 326.5 MB, free: 2.25 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.982/1.982, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001078/0.001078, allocations: 104.5 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003775, allocations: 9.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2178, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY): time 0.01447/0.2323, allocations: 15.07 MB / 0.9149 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009766/0.2421, allocations: 5.704 MB / 0.9204 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.2437, allocations: 35.88 kB / 0.9205 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.2451, allocations: 334.1 kB / 0.9208 GB, free: 42.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.2482, allocations: 0.6191 MB / 0.9214 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.2504, allocations: 0.6334 MB / 0.922 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.253, allocations: 1.789 MB / 0.9238 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/0.2633, allocations: 6.277 MB / 0.9299 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.2657, allocations: 1.083 MB / 0.931 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002692/0.2684, allocations: 1.258 MB / 0.9322 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007039/0.2691, allocations: 196 kB / 0.9324 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.2712, allocations: 0.5814 MB / 0.9329 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.2728, allocations: 1.349 MB / 0.9343 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009282/0.2737, allocations: 0.5667 MB / 0.9348 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004901/0.2786, allocations: 5.564 MB / 0.9402 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2787, allocations: 0 / 0.9402 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2787, allocations: 0 / 0.9402 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001431/0.2788, allocations: 0 / 0.9402 GB, free: 22.64 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.005116/0.284, allocations: 2.491 MB / 0.9427 GB, free: 20.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.284, allocations: 8.031 kB / 0.9427 GB, free: 20.08 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007863/0.2848, allocations: 470.6 kB / 0.9431 GB, free: 19.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.2951, allocations: 2.087 MB / 0.9452 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004311/0.2995, allocations: 1.627 MB / 0.9468 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.2996, allocations: 226.1 kB / 0.947 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007018/0.3003, allocations: 296 kB / 0.9473 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/0.3113, allocations: 5.884 MB / 0.953 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-05/0.3114, allocations: 0 / 0.953 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.3117, allocations: 124 kB / 0.9531 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002767/0.312, allocations: 204.9 kB / 0.9533 GB, free: 9.027 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/0.3247, allocations: 5.951 MB / 0.9591 GB, free: 3.062 MB / 0.6042 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.03114/0.3559, allocations: 23.02 MB / 0.9816 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005278/0.3612, allocations: 2.557 MB / 0.9841 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.3614, allocations: 126 kB / 0.9842 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.3615, allocations: 51.55 kB / 0.9843 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=123): time 5.19e-06/0.3615, allocations: 0 / 0.9843 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=123): time 0.01421/0.3757, allocations: 5.136 MB / 0.9893 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.3758, allocations: 226.5 kB / 0.9895 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.3774, allocations: 1.063 MB / 0.9906 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.3775, allocations: 49.7 kB / 0.9906 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008718/0.3784, allocations: 1.265 MB / 0.9918 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/0.3788, allocations: 433.9 kB / 0.9922 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.379, allocations: 40 kB / 0.9923 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.3792, allocations: 418.7 kB / 0.9927 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00415/0.3834, allocations: 1.647 MB / 0.9943 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004601/0.388, allocations: 2.307 MB / 0.9965 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004475/0.3925, allocations: 1.934 MB / 0.9984 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.3925, allocations: 8 kB / 0.9984 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.01036/0.4028, allocations: 4.425 MB / 1.003 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.002973/0.4058, allocations: 8.435 MB / 1.011 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/0.4059, allocations: 24.19 kB / 1.011 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.4076, allocations: 426.1 kB / 1.011 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/0.4115, allocations: 0.7644 MB / 1.012 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006937/0.4185, allocations: 6.283 MB / 1.018 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/0.4218, allocations: 0.5598 MB / 1.019 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.422, allocations: 111.9 kB / 1.019 GB, free: 2.059 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.4221, allocations: 8 kB / 1.019 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01029/0.4324, allocations: 4.261 MB / 1.023 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.033e-05/0.4325, allocations: 20 kB / 1.023 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000774/0.4332, allocations: 318.4 kB / 1.023 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/0.4363, allocations: 0.7682 MB / 1.024 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005789/0.4421, allocations: 6.072 MB / 1.03 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/0.4451, allocations: 0.506 MB / 1.031 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/0.4453, allocations: 108 kB / 1.031 GB, free: 5.582 MB / 0.6823 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.002033/0.4473, allocations: 1.293 MB / 1.032 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/0.4477, allocations: 118.7 kB / 1.032 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.4577, allocations: 3.749 MB / 1.036 GB, free: 368 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-05/0.4578, allocations: 12 kB / 1.036 GB, free: 356 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.4578, allocations: 4 kB / 1.036 GB, free: 352 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.4579, allocations: 15.92 kB / 1.036 GB, free: 336 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/0.4726, allocations: 6.965 MB / 1.043 GB, free: 9.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.4727, allocations: 8 kB / 1.043 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002312/0.475, allocations: 0.5073 MB / 1.043 GB, free: 8.703 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008893/0.4759, allocations: 335.1 kB / 1.043 GB, free: 8.367 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.476, allocations: 43.95 kB / 1.043 GB, free: 8.324 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006353/0.4824, allocations: 6.151 MB / 1.049 GB, free: 1.773 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.4824, allocations: 8 kB / 1.049 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5048/0.9873, allocations: 3.811 MB / 1.053 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.9885, allocations: 485.6 kB / 1.054 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.9887, allocations: 24.64 kB / 1.054 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/0.9911, allocations: 376.9 kB / 1.054 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.9913, allocations: 100.5 kB / 1.054 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/0.9914, allocations: 50.72 kB / 1.054 GB, free: 135.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00121/0.9927, allocations: 0.767 MB / 1.055 GB, free: 135.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.212e-06/0.9927, allocations: 0 / 1.055 GB, free: 135.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004056/0.9967, allocations: 1.471 MB / 1.056 GB, free: 135.6 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 (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.0106/1.007, allocations: 5.839 MB / 1.062 GB, free: 132.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01777/1.025, allocations: 6.536 MB / 1.068 GB, free: 131.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/1.025, allocations: 0 / 1.068 GB, free: 131.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005184/1.03, allocations: 2.033 MB / 1.07 GB, free: 131.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1.032, allocations: 155.5 kB / 1.071 GB, free: 131.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04459/1.076, allocations: 30.89 MB / 1.101 GB, free: 111.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002802/1.079, allocations: 2.286 MB / 1.103 GB, free: 110.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004306/1.084, allocations: 1.274 MB / 1.104 GB, free: 109.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/1.085, allocations: 0.8374 MB / 1.105 GB, free: 108.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.505e-06/1.085, allocations: 0 / 1.105 GB, free: 108.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06012/1.146, allocations: 39.44 MB / 1.144 GB, free: 70.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/1.146, allocations: 262.1 kB / 1.144 GB, free: 70.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/4.129, allocations: 3.234 kB / 1.144 GB, free: 70.25 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1)