Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",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.463/2.463, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001466/0.001465, allocations: 188.9 kB / 360.6 MB, free: 7.25 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.094/2.094, allocations: 205.2 MB / 0.6191 GB, free: 12.17 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.001101/0.001101, allocations: 100.9 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.87e-05/2.858e-05, allocations: 4 kB / 0.8509 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.817/0.8171, allocations: 115.2 MB / 0.9634 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3333/1.15, allocations: 186.7 MB / 1.146 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/1.151, allocations: 99.94 kB / 1.146 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.4406/1.591, allocations: 101.9 MB / 1.245 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.424e-06/1.592, allocations: 4 kB / 1.245 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001577/1.592, allocations: 55.98 kB / 1.245 GB, free: 11.01 MB / 0.8542 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.01047/1.602, allocations: 2.341 MB / 1.248 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/1.602, allocations: 8.031 kB / 1.248 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02046/1.623, allocations: 1.9 MB / 1.249 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00659/1.629, allocations: 1.654 MB / 1.251 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/1.63, allocations: 92 kB / 1.251 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/1.631, allocations: 168 kB / 1.251 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0131/1.644, allocations: 3.947 MB / 1.255 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6574/2.302, allocations: 4.305 MB / 1.259 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001504/2.302, allocations: 6.109 kB / 1.259 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001356/2.303, allocations: 2.469 kB / 1.259 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000716/2.304, allocations: 196.9 kB / 1.26 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0425/2.346, allocations: 21.82 MB / 1.281 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005487/2.352, allocations: 2.468 MB / 1.283 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003523/2.356, allocations: 1.322 MB / 1.285 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003282/2.356, allocations: 124.9 kB / 1.285 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/2.356, allocations: 61.5 kB / 1.285 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=132): time 4.96e-06/2.356, allocations: 0 / 1.285 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=174): time 0.02773/2.384, allocations: 7.715 MB / 1.292 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.895e-05/2.384, allocations: 236.2 kB / 1.293 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/2.386, allocations: 0.8069 MB / 1.293 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005292/2.386, allocations: 27.47 kB / 1.293 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/2.388, allocations: 1.155 MB / 1.294 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/2.389, allocations: 0.5664 MB / 1.295 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003884/2.389, allocations: 0 / 1.295 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003393/2.39, allocations: 431.4 kB / 1.295 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003651/2.393, allocations: 1.327 MB / 1.297 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004235/2.398, allocations: 1.889 MB / 1.299 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006898/2.405, allocations: 1.981 MB / 1.301 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.301e-05/2.405, allocations: 5.312 kB / 1.301 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01738/2.422, allocations: 4.495 MB / 1.305 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001909/2.424, allocations: 6.876 MB / 1.312 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/2.424, allocations: 19.12 kB / 1.312 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005089/2.429, allocations: 0.9962 MB / 1.313 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006698/2.436, allocations: 0.7344 MB / 1.313 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02383/2.46, allocations: 10.05 MB / 1.323 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006138/2.466, allocations: 422.2 kB / 1.324 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008092/2.467, allocations: 109.7 kB / 1.324 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/2.467, allocations: 3.125 kB / 1.324 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01494/2.482, allocations: 4.229 MB / 1.328 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/2.482, allocations: 17.8 kB / 1.328 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003618/2.486, allocations: 0.8418 MB / 1.329 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006481/2.492, allocations: 0.7307 MB / 1.329 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/2.51, allocations: 9.646 MB / 1.339 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005487/2.515, allocations: 403 kB / 1.339 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007743/2.516, allocations: 117.4 kB / 1.339 GB, free: 157.5 MB / 0.8542 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 () * 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.0012/2.517, allocations: 156.9 kB / 1.339 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01138/2.529, allocations: 3.503 MB / 1.343 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009307/2.53, allocations: 122.2 kB / 1.343 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/2.542, allocations: 4.021 MB / 1.347 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.631e-05/2.543, allocations: 18.66 kB / 1.347 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.313e-05/2.543, allocations: 10.94 kB / 1.347 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-05/2.543, allocations: 9.891 kB / 1.347 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02799/2.571, allocations: 7.333 MB / 1.354 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/2.571, allocations: 11.19 kB / 1.354 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007348/2.578, allocations: 0.5234 MB / 1.355 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005959/2.584, allocations: 0.8553 MB / 1.355 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005717/2.585, allocations: 43.92 kB / 1.355 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02791/2.613, allocations: 9.379 MB / 1.365 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.958e-05/2.613, allocations: 15.11 kB / 1.365 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/2.625, allocations: 4.096 MB / 1.369 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/2.627, allocations: 0.518 MB / 1.369 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005298/2.627, allocations: 11.59 kB / 1.369 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00499/2.632, allocations: 379.3 kB / 1.37 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005977/2.633, allocations: 150 kB / 1.37 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/2.633, allocations: 64.03 kB / 1.37 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00123/2.634, allocations: 0.6271 MB / 1.37 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.91e-07/2.634, allocations: 3.938 kB / 1.37 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00712/2.641, allocations: 1.094 MB / 1.371 GB, free: 142.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 99 * 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.01077/2.652, allocations: 6.541 MB / 1.378 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01636/2.669, allocations: 6.154 MB / 1.384 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/2.669, allocations: 0 / 1.384 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005684/2.674, allocations: 2.032 MB / 1.386 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/2.676, allocations: 125.1 kB / 1.386 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02857/2.705, allocations: 6.578 MB / 1.392 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003023/2.708, allocations: 2.351 MB / 1.395 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.006787/2.715, allocations: 1.257 MB / 1.396 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/2.717, allocations: 0.8372 MB / 1.397 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/2.717, allocations: 3.938 kB / 1.397 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/2.848, allocations: 50.75 MB / 1.446 GB, free: 91.41 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/2.848, allocations: 190 kB / 1.446 GB, free: 91.21 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.118/6.966, allocations: 1.031 kB / 1.446 GB, free: 91.21 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1)