Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.TransformerDD,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001656/0.001656, allocations: 184.6 kB / 377.1 MB, free: 1.516 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.892/1.892, allocations: 205.4 MB / 0.6366 GB, free: 8.574 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.0009478/0.0009482, allocations: 90.22 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004363, allocations: 16 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2886, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8302/1.119, allocations: 188.2 MB / 1.172 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/1.119, allocations: 105.3 kB / 1.172 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2535/1.373, allocations: 99.03 MB / 1.269 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.335e-06/1.373, allocations: 0 / 1.269 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001445/1.373, allocations: 52 kB / 1.269 GB, free: 6.184 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.01011/1.383, allocations: 2.325 MB / 1.271 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.971e-05/1.383, allocations: 8.031 kB / 1.271 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002625/1.386, allocations: 428.5 kB / 1.272 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/1.398, allocations: 1.881 MB / 1.274 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/1.402, allocations: 1.604 MB / 1.275 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/1.402, allocations: 209.5 kB / 1.275 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009647/1.403, allocations: 264 kB / 1.276 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/1.415, allocations: 5.026 MB / 1.281 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.845e-05/1.415, allocations: 11.94 kB / 1.281 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003404/1.415, allocations: 112 kB / 1.281 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003042/1.416, allocations: 184.5 kB / 1.281 GB, free: 9.941 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/1.431, allocations: 5.244 MB / 1.286 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02979/1.461, allocations: 21 MB / 1.306 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005528/1.467, allocations: 2.986 MB / 1.309 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/1.467, allocations: 122.1 kB / 1.31 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/1.467, allocations: 51.5 kB / 1.31 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=139): time 3.597e-06/1.467, allocations: 0 / 1.31 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=181): time 0.03948/1.506, allocations: 12.94 MB / 1.322 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.507, allocations: 238.9 kB / 1.322 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/1.508, allocations: 0.8858 MB / 1.323 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002404/1.508, allocations: 49.7 kB / 1.323 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/1.509, allocations: 1.096 MB / 1.324 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005742/1.509, allocations: 0.6239 MB / 1.325 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/1.509, allocations: 44 kB / 1.325 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002226/1.51, allocations: 439.3 kB / 1.325 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004464/1.514, allocations: 1.889 MB / 1.327 GB, free: 8.176 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004773/1.519, allocations: 2.461 MB / 1.33 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00478/1.524, allocations: 2.207 MB / 1.332 GB, free: 3.27 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/1.524, allocations: 4 kB / 1.332 GB, free: 3.266 MB / 0.9011 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01264/1.536, allocations: 5.4 MB / 1.337 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002682/1.539, allocations: 6.707 MB / 1.344 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/1.539, allocations: 20 kB / 1.344 GB, free: 6.598 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002666/1.542, allocations: 1.067 MB / 1.345 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/1.546, allocations: 0.7448 MB / 1.345 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/1.56, allocations: 10.51 MB / 1.356 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005079/1.565, allocations: 459.1 kB / 1.356 GB, free: 9.539 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007114/1.566, allocations: 115.9 kB / 1.356 GB, free: 9.426 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.566, allocations: 4 kB / 1.356 GB, free: 9.422 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02025/1.586, allocations: 5.255 MB / 1.361 GB, free: 4.156 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/1.586, allocations: 16.28 kB / 1.361 GB, free: 4.141 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003334/1.589, allocations: 0.8767 MB / 1.362 GB, free: 3.258 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005647/1.595, allocations: 0.7448 MB / 1.363 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7086/2.304, allocations: 10.49 MB / 1.373 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/2.307, allocations: 445 kB / 1.374 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003387/2.308, allocations: 112 kB / 1.374 GB, free: 207.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (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.003062/2.311, allocations: 1.215 MB / 1.375 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005226/2.311, allocations: 131.1 kB / 1.375 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/2.325, allocations: 5.167 MB / 1.38 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.854e-05/2.325, allocations: 18.03 kB / 1.38 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/2.325, allocations: 12.84 kB / 1.38 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.178e-05/2.325, allocations: 9.016 kB / 1.38 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/2.347, allocations: 8.653 MB / 1.389 GB, free: 206 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.408e-05/2.347, allocations: 6.281 kB / 1.389 GB, free: 206 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002904/2.35, allocations: 0.5366 MB / 1.389 GB, free: 206 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/2.353, allocations: 0.8649 MB / 1.39 GB, free: 206 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/2.353, allocations: 54.91 kB / 1.39 GB, free: 206 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/2.365, allocations: 10.1 MB / 1.4 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/2.365, allocations: 7.969 kB / 1.4 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/2.376, allocations: 5.028 MB / 1.405 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/2.378, allocations: 0.5298 MB / 1.405 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/2.378, allocations: 37.92 kB / 1.405 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002484/2.38, allocations: 402.3 kB / 1.406 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004121/2.381, allocations: 153.1 kB / 1.406 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/2.381, allocations: 72.08 kB / 1.406 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001015/2.382, allocations: 0.707 MB / 1.407 GB, free: 202 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.11e-07/2.382, allocations: 0 / 1.407 GB, free: 202 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004407/2.386, allocations: 1.231 MB / 1.408 GB, free: 202 MB / 0.9323 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 103 * 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.01099/2.397, allocations: 7.501 MB / 1.415 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01855/2.416, allocations: 8.066 MB / 1.423 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/2.416, allocations: 0 / 1.423 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005815/2.422, allocations: 2.621 MB / 1.426 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/2.423, allocations: 151.7 kB / 1.426 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04425/2.468, allocations: 29.49 MB / 1.455 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002694/2.47, allocations: 2.272 MB / 1.457 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004002/2.474, allocations: 1.287 MB / 1.458 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/2.476, allocations: 0.8085 MB / 1.459 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.503e-06/2.476, allocations: 0 / 1.459 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1097/2.585, allocations: 50.35 MB / 1.508 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/2.586, allocations: 235.7 kB / 1.508 GB, free: 174 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.355/5.94, allocations: 0 / 1.508 GB, free: 174 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)