Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 289.7 MB / 302.3 MB, free: 2.195 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.001094/0.001094, allocations: 184.4 kB / 371.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.1 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009949/0.0009949, allocations: 87.83 kB / 0.745 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.602e-05/5.626e-05, allocations: 0 / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.305, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9685/1.274, allocations: 188.5 MB / 1.164 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/1.274, allocations: 96.73 kB / 1.164 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2569/1.531, allocations: 102.3 MB / 1.264 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.825e-06/1.531, allocations: 4 kB / 1.264 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001194/1.531, allocations: 48 kB / 1.264 GB, free: 15.5 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.01148/1.543, allocations: 2.343 MB / 1.266 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 8.233e-05/1.543, allocations: 12.03 kB / 1.266 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002878/1.546, allocations: 445.5 kB / 1.267 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02286/1.568, allocations: 1.896 MB / 1.269 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008159/1.577, allocations: 1.661 MB / 1.27 GB, free: 9.051 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004322/1.577, allocations: 213.8 kB / 1.27 GB, free: 8.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002364/1.58, allocations: 280 kB / 1.271 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02546/1.605, allocations: 4.726 MB / 1.275 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001774/1.605, allocations: 3.938 kB / 1.275 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001748/1.607, allocations: 120 kB / 1.275 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007164/1.608, allocations: 188.8 kB / 1.276 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/1.627, allocations: 4.377 MB / 1.28 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0497/1.677, allocations: 22.48 MB / 1.302 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004306/1.681, allocations: 2.509 MB / 1.304 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002812/1.684, allocations: 1.473 MB / 1.306 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/1.684, allocations: 122 kB / 1.306 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/1.684, allocations: 63.45 kB / 1.306 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=132): time 3.837e-06/1.684, allocations: 0 / 1.306 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of matching and sorting (n=174): time 0.03038/1.715, allocations: 10.01 MB / 1.316 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/1.715, allocations: 230.9 kB / 1.316 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/1.716, allocations: 0.8469 MB / 1.317 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003475/1.717, allocations: 61.69 kB / 1.317 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007746/1.717, allocations: 1.154 MB / 1.318 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006634/1.718, allocations: 0.5969 MB / 1.318 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/1.718, allocations: 44 kB / 1.318 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002809/1.719, allocations: 427.2 kB / 1.319 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/1.721, allocations: 1.347 MB / 1.32 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002735/1.724, allocations: 1.934 MB / 1.322 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002784/1.726, allocations: 1.661 MB / 1.324 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/1.726, allocations: 4 kB / 1.324 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008301/1.735, allocations: 4.317 MB / 1.328 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003095/1.738, allocations: 7.052 MB / 1.335 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.642e-05/1.738, allocations: 19.94 kB / 1.335 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002902/1.741, allocations: 1.102 MB / 1.336 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/1.745, allocations: 0.7292 MB / 1.337 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/1.759, allocations: 10.15 MB / 1.347 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/1.763, allocations: 471 kB / 1.347 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004201/1.764, allocations: 111.9 kB / 1.347 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.764, allocations: 8 kB / 1.347 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008125/1.772, allocations: 4.178 MB / 1.351 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.064e-05/1.772, allocations: 16 kB / 1.351 GB, free: 2.457 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/1.774, allocations: 0.8799 MB / 1.352 GB, free: 1.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00407/1.778, allocations: 0.737 MB / 1.353 GB, free: 0.832 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/1.793, allocations: 10.09 MB / 1.363 GB, free: 6.461 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/1.797, allocations: 451.1 kB / 1.363 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00071/1.798, allocations: 112 kB / 1.363 GB, free: 5.91 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * 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,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001305/1.799, allocations: 232.3 kB / 1.363 GB, free: 5.676 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007197/1.8, allocations: 122.5 kB / 1.363 GB, free: 5.555 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008531/1.808, allocations: 3.943 MB / 1.367 GB, free: 1.57 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/1.808, allocations: 16 kB / 1.367 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.578e-05/1.809, allocations: 12 kB / 1.367 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-05/1.809, allocations: 11.97 kB / 1.367 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/1.825, allocations: 7.892 MB / 1.375 GB, free: 9.449 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/1.825, allocations: 11.94 kB / 1.375 GB, free: 9.438 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/1.828, allocations: 0.5225 MB / 1.376 GB, free: 8.914 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/1.83, allocations: 0.8843 MB / 1.376 GB, free: 8.023 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/1.83, allocations: 51.95 kB / 1.377 GB, free: 7.973 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6792/2.509, allocations: 9.679 MB / 1.386 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/2.51, allocations: 13.94 kB / 1.386 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006909/2.516, allocations: 4.102 MB / 1.39 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/2.518, allocations: 0.5124 MB / 1.39 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/2.518, allocations: 39.47 kB / 1.391 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002949/2.521, allocations: 404.1 kB / 1.391 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005038/2.522, allocations: 155.9 kB / 1.391 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/2.522, allocations: 66.75 kB / 1.391 GB, free: 220.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001413/2.523, allocations: 0.6717 MB / 1.392 GB, free: 220.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/2.523, allocations: 0 / 1.392 GB, free: 220.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00639/2.53, allocations: 1.231 MB / 1.393 GB, free: 220.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 101 * 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,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008153/2.538, allocations: 6.841 MB / 1.4 GB, free: 216.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01503/2.553, allocations: 6.423 MB / 1.406 GB, free: 215.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/2.553, allocations: 3.062 kB / 1.406 GB, free: 215.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004164/2.557, allocations: 2.097 MB / 1.408 GB, free: 215.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/2.559, allocations: 146.4 kB / 1.408 GB, free: 215.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/2.579, allocations: 6.767 MB / 1.415 GB, free: 214.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/2.581, allocations: 2.358 MB / 1.417 GB, free: 213.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003992/2.585, allocations: 1.26 MB / 1.418 GB, free: 213.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/2.587, allocations: 0.8516 MB / 1.419 GB, free: 213.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.043e-06/2.587, allocations: 0 / 1.419 GB, free: 213.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08342/2.67, allocations: 51.73 MB / 1.47 GB, free: 211.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/2.671, allocations: 210.4 kB / 1.47 GB, free: 211.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.288/5.959, allocations: 1.031 kB / 1.47 GB, free: 211.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1)