Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.TransformerDD,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.631/2.631, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001556/0.001556, allocations: 188.4 kB / 370.8 MB, free: 10.88 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.158/2.158, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001628/0.001628, allocations: 92.17 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007679/0.0007685, allocations: 12.56 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2382, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.243, allocations: 187.1 MB / 1.161 GB, free: 12.79 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003836/1.243, allocations: 99.47 kB / 1.161 GB, free: 12.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4045/1.648, allocations: 99.03 MB / 1.258 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.996e-06/1.648, allocations: 0 / 1.258 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001602/1.648, allocations: 55.94 kB / 1.258 GB, free: 5.102 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.01048/1.658, allocations: 2.329 MB / 1.26 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/1.658, allocations: 12.03 kB / 1.26 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001945/1.66, allocations: 420.6 kB / 1.261 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02058/1.681, allocations: 1.881 MB / 1.262 GB, free: 408 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/1.687, allocations: 1.612 MB / 1.264 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/1.687, allocations: 201.5 kB / 1.264 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/1.689, allocations: 264 kB / 1.264 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/1.71, allocations: 5.03 MB / 1.269 GB, free: 9.156 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/1.71, allocations: 0 / 1.269 GB, free: 9.156 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008002/1.711, allocations: 112 kB / 1.269 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005414/1.712, allocations: 192.5 kB / 1.27 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02445/1.736, allocations: 5.244 MB / 1.275 GB, free: 3.594 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0453/1.782, allocations: 20.98 MB / 1.295 GB, free: 12.77 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/1.793, allocations: 2.993 MB / 1.298 GB, free: 9.609 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000404/1.793, allocations: 130 kB / 1.298 GB, free: 9.465 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/1.793, allocations: 59.52 kB / 1.298 GB, free: 9.398 MB / 0.823 GB Notification: Performance of pre-optimization done (n=139): time 4.068e-06/1.793, allocations: 0 / 1.298 GB, free: 9.398 MB / 0.823 GB Notification: Performance of matching and sorting (n=181): time 0.07898/1.872, allocations: 12.93 MB / 1.311 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/1.872, allocations: 230.9 kB / 1.311 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/1.874, allocations: 0.8858 MB / 1.312 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005298/1.875, allocations: 61.73 kB / 1.312 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/1.876, allocations: 1.096 MB / 1.313 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001368/1.878, allocations: 0.6161 MB / 1.314 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004519/1.878, allocations: 48 kB / 1.314 GB, free: 9.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003968/1.878, allocations: 439.2 kB / 1.314 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009184/1.888, allocations: 1.893 MB / 1.316 GB, free: 7.074 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00998/1.898, allocations: 2.464 MB / 1.318 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009876/1.908, allocations: 2.195 MB / 1.321 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-05/1.908, allocations: 8 kB / 1.321 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.02465/1.932, allocations: 5.403 MB / 1.326 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00332/1.936, allocations: 6.709 MB / 1.332 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.95e-05/1.936, allocations: 16 kB / 1.332 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004727/1.941, allocations: 1.067 MB / 1.334 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006832/1.947, allocations: 0.7409 MB / 1.334 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02471/1.972, allocations: 10.52 MB / 1.345 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005873/1.978, allocations: 459.1 kB / 1.345 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005507/1.979, allocations: 112.1 kB / 1.345 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.979, allocations: 4 kB / 1.345 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02307/2.002, allocations: 5.259 MB / 1.35 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.202e-05/2.002, allocations: 20 kB / 1.35 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003909/2.006, allocations: 0.877 MB / 1.351 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006785/2.013, allocations: 0.737 MB / 1.352 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/2.037, allocations: 10.5 MB / 1.362 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005647/2.042, allocations: 459 kB / 1.362 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005714/2.043, allocations: 104 kB / 1.363 GB, free: 6.078 MB / 0.8855 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.003348/2.046, allocations: 1.215 MB / 1.364 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006682/2.047, allocations: 122.6 kB / 1.364 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02336/2.07, allocations: 5.166 MB / 1.369 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.175e-05/2.07, allocations: 24 kB / 1.369 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.689e-05/2.07, allocations: 12 kB / 1.369 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.236e-05/2.07, allocations: 15.95 kB / 1.369 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03398/2.104, allocations: 8.645 MB / 1.377 GB, free: 6.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.717e-05/2.105, allocations: 8 kB / 1.377 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005275/2.11, allocations: 0.5264 MB / 1.378 GB, free: 6.137 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004137/2.114, allocations: 0.8695 MB / 1.379 GB, free: 5.262 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004647/2.115, allocations: 63.91 kB / 1.379 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02399/2.139, allocations: 10.09 MB / 1.389 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.797e-05/2.139, allocations: 11.94 kB / 1.389 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02127/2.16, allocations: 5.03 MB / 1.394 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/2.162, allocations: 0.5306 MB / 1.394 GB, free: 4.973 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005969/2.163, allocations: 40 kB / 1.394 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005157/2.168, allocations: 407.2 kB / 1.395 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006606/2.168, allocations: 152.9 kB / 1.395 GB, free: 4.383 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000282/2.169, allocations: 63.95 kB / 1.395 GB, free: 4.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001741/2.17, allocations: 0.7136 MB / 1.395 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.71e-07/2.171, allocations: 0 / 1.395 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006937/2.177, allocations: 1.23 MB / 1.397 GB, free: 2.379 MB / 0.9167 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.02276/2.2, allocations: 7.49 MB / 1.404 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.03603/2.236, allocations: 8.055 MB / 1.412 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/2.236, allocations: 64 / 1.412 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01163/2.248, allocations: 2.622 MB / 1.414 GB, free: 15.92 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/2.25, allocations: 159.2 kB / 1.415 GB, free: 15.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7278/2.978, allocations: 29.49 MB / 1.443 GB, free: 278.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004028/2.982, allocations: 2.273 MB / 1.446 GB, free: 277.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008185/2.99, allocations: 1.287 MB / 1.447 GB, free: 277.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002547/2.993, allocations: 0.8083 MB / 1.448 GB, free: 277.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.493e-06/2.993, allocations: 0 / 1.448 GB, free: 277.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1444/3.137, allocations: 50.35 MB / 1.497 GB, free: 275.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/3.137, allocations: 234.8 kB / 1.497 GB, free: 275.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.031/7.169, allocations: 0 / 1.497 GB, free: 275.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)