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.TransformerDD.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.TransformerDD,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.6/1.6, allocations: 249.3 MB / 261.8 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001186, allocations: 176.9 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.2 MB / 0.572 GB, free: 10.76 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.0009067/0.0009068, allocations: 99.03 kB / 0.6764 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.544e-05/3.548e-05, allocations: 4 kB / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2462, allocations: 106.3 MB / 0.8919 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.854/1.1, allocations: 180.9 MB / 1.069 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.101, allocations: 94.12 kB / 1.069 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2457/1.346, allocations: 98.56 MB / 1.165 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.724e-06/1.346, allocations: 0 / 1.165 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001267/1.346, allocations: 55.98 kB / 1.165 GB, free: 6.918 MB / 0.7761 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.007544/1.354, allocations: 2.258 MB / 1.167 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/1.354, allocations: 8.031 kB / 1.167 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00159/1.356, allocations: 424.5 kB / 1.168 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/1.368, allocations: 1.881 MB / 1.169 GB, free: 2.289 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/1.373, allocations: 1.603 MB / 1.171 GB, free: 0.6367 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/1.373, allocations: 201.5 kB / 1.171 GB, free: 448 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/1.374, allocations: 264 kB / 1.171 GB, free: 184 kB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/1.386, allocations: 4.516 MB / 1.176 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.611e-05/1.386, allocations: 8 kB / 1.176 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005186/1.386, allocations: 112 kB / 1.176 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003735/1.387, allocations: 188.5 kB / 1.176 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/1.397, allocations: 4.25 MB / 1.18 GB, free: 6.996 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03253/1.43, allocations: 20.98 MB / 1.201 GB, free: 176 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/1.433, allocations: 2.506 MB / 1.203 GB, free: 13.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/1.436, allocations: 1.645 MB / 1.205 GB, free: 11.83 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/1.436, allocations: 122 kB / 1.205 GB, free: 11.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/1.436, allocations: 55.55 kB / 1.205 GB, free: 11.63 MB / 0.823 GB Notification: Performance of pre-optimization done (n=139): time 4.529e-06/1.436, allocations: 0 / 1.205 GB, free: 11.63 MB / 0.823 GB Notification: Performance of matching and sorting (n=181): time 0.02923/1.466, allocations: 9.966 MB / 1.215 GB, free: 1.625 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/1.466, allocations: 230.9 kB / 1.215 GB, free: 1.352 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/1.467, allocations: 0.8781 MB / 1.216 GB, free: 480 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003101/1.467, allocations: 57.7 kB / 1.216 GB, free: 416 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007817/1.468, allocations: 1.092 MB / 1.217 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000701/1.469, allocations: 0.6161 MB / 1.217 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/1.469, allocations: 52 kB / 1.218 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002456/1.469, allocations: 431.3 kB / 1.218 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/1.472, allocations: 1.391 MB / 1.219 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/1.474, allocations: 1.976 MB / 1.221 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/1.477, allocations: 1.716 MB / 1.223 GB, free: 8.859 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/1.477, allocations: 8 kB / 1.223 GB, free: 8.852 MB / 0.8386 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.00796/1.485, allocations: 4.409 MB / 1.227 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003285/1.488, allocations: 6.882 MB / 1.234 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.955e-05/1.488, allocations: 16 kB / 1.234 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/1.491, allocations: 1.059 MB / 1.235 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/1.495, allocations: 0.7487 MB / 1.236 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/1.509, allocations: 10.1 MB / 1.246 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003751/1.513, allocations: 463 kB / 1.246 GB, free: 340 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005452/1.514, allocations: 111.9 kB / 1.246 GB, free: 228 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.514, allocations: 4 kB / 1.246 GB, free: 224 kB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007848/1.522, allocations: 4.265 MB / 1.25 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.504e-05/1.522, allocations: 20.03 kB / 1.25 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/1.524, allocations: 0.864 MB / 1.251 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003882/1.528, allocations: 0.7448 MB / 1.252 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5988/2.127, allocations: 10.04 MB / 1.262 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/2.131, allocations: 445.9 kB / 1.262 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007397/2.132, allocations: 111.1 kB / 1.262 GB, free: 251.7 MB / 0.8698 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 (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 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007286/2.133, allocations: 232.6 kB / 1.262 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005265/2.133, allocations: 125.7 kB / 1.263 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008601/2.142, allocations: 4.184 MB / 1.267 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/2.142, allocations: 16.97 kB / 1.267 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.013e-05/2.142, allocations: 23.67 kB / 1.267 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.56e-05/2.142, allocations: 9.031 kB / 1.267 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/2.159, allocations: 7.804 MB / 1.274 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/2.159, allocations: 8.125 kB / 1.274 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00294/2.162, allocations: 0.5379 MB / 1.275 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002431/2.164, allocations: 0.8791 MB / 1.276 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004257/2.165, allocations: 62.48 kB / 1.276 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/2.179, allocations: 9.674 MB / 1.285 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/2.179, allocations: 12.38 kB / 1.285 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007927/2.187, allocations: 4.227 MB / 1.289 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/2.188, allocations: 0.5307 MB / 1.29 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/2.188, allocations: 39.97 kB / 1.29 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002953/2.191, allocations: 405.9 kB / 1.29 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005876/2.192, allocations: 162.8 kB / 1.29 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/2.192, allocations: 70.55 kB / 1.291 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001205/2.193, allocations: 0.7027 MB / 1.291 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.193, allocations: 0 / 1.291 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005844/2.199, allocations: 1.224 MB / 1.292 GB, free: 246.3 MB / 0.8698 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 () * 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,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007353/2.207, allocations: 7.23 MB / 1.299 GB, free: 242.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01283/2.219, allocations: 6.563 MB / 1.306 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/2.219, allocations: 4.156 kB / 1.306 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004122/2.224, allocations: 2.119 MB / 1.308 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/2.225, allocations: 160.1 kB / 1.308 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/2.243, allocations: 6.636 MB / 1.315 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/2.245, allocations: 2.283 MB / 1.317 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00413/2.25, allocations: 1.319 MB / 1.318 GB, free: 237 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/2.251, allocations: 0.8056 MB / 1.319 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.753e-06/2.251, allocations: 4 kB / 1.319 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07996/2.331, allocations: 51.71 MB / 1.369 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/2.331, allocations: 207 kB / 1.37 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.403/5.734, allocations: 4.906 kB / 1.37 GB, free: 228.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)