Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.206/2.206, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 194.4 kB / 491.2 MB, free: 1.535 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000832/0.000832, allocations: 97.95 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.06e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2831, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9704/1.254, allocations: 204 MB / 1.412 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.254, allocations: 98.66 kB / 1.412 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.312/1.566, allocations: 128.2 MB / 1.537 GB, free: 10.54 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.008e-06/1.566, allocations: 0 / 1.537 GB, free: 10.54 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001798/1.566, allocations: 63.98 kB / 1.537 GB, free: 10.47 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.008535/1.575, allocations: 2.432 MB / 1.539 GB, free: 7.984 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/1.575, allocations: 8.031 kB / 1.539 GB, free: 7.977 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/1.588, allocations: 2.044 MB / 1.541 GB, free: 5.926 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005652/1.594, allocations: 1.798 MB / 1.543 GB, free: 4.082 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/1.594, allocations: 99.95 kB / 1.543 GB, free: 3.984 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/1.596, allocations: 164 kB / 1.543 GB, free: 3.824 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009578/1.605, allocations: 4.096 MB / 1.547 GB, free: 15.72 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/1.617, allocations: 4.527 MB / 1.552 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.177e-05/1.617, allocations: 4 kB / 1.552 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000357/1.618, allocations: 0 / 1.552 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005155/1.618, allocations: 254 kB / 1.552 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03337/1.652, allocations: 21.79 MB / 1.573 GB, free: 3.145 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/1.655, allocations: 2.023 MB / 1.575 GB, free: 1.055 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/1.656, allocations: 1.211 MB / 1.576 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/1.657, allocations: 106.4 kB / 1.577 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/1.657, allocations: 55.81 kB / 1.577 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=122): time 4.108e-06/1.657, allocations: 0 / 1.577 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=173): time 0.01621/1.673, allocations: 6.97 MB / 1.583 GB, free: 8.68 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/1.673, allocations: 77.41 kB / 1.583 GB, free: 8.59 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/1.675, allocations: 0.9659 MB / 1.584 GB, free: 7.602 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003091/1.675, allocations: 25.7 kB / 1.584 GB, free: 7.57 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000891/1.676, allocations: 1.262 MB / 1.586 GB, free: 6.285 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007013/1.677, allocations: 0.5697 MB / 1.586 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/1.677, allocations: 0 / 1.586 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002674/1.677, allocations: 443.5 kB / 1.587 GB, free: 5.266 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/1.679, allocations: 1.484 MB / 1.588 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/1.682, allocations: 2.177 MB / 1.59 GB, free: 1.285 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/1.686, allocations: 2.133 MB / 1.592 GB, free: 15.15 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/1.686, allocations: 8 kB / 1.592 GB, free: 15.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0105/1.696, allocations: 5.252 MB / 1.597 GB, free: 9.863 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.003972/1.7, allocations: 8.886 MB / 1.606 GB, free: 288 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-05/1.701, allocations: 20 kB / 1.606 GB, free: 268 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004489/1.705, allocations: 1.367 MB / 1.607 GB, free: 14.88 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/1.709, allocations: 0.7682 MB / 1.608 GB, free: 14.11 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/1.732, allocations: 16.72 MB / 1.625 GB, free: 12.7 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003779/1.736, allocations: 450.9 kB / 1.625 GB, free: 12.25 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000387/1.736, allocations: 123.9 kB / 1.625 GB, free: 12.13 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/1.736, allocations: 4 kB / 1.625 GB, free: 12.13 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009867/1.746, allocations: 4.967 MB / 1.63 GB, free: 7.141 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-05/1.746, allocations: 32.05 kB / 1.63 GB, free: 7.109 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003463/1.75, allocations: 1.305 MB / 1.631 GB, free: 5.785 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003681/1.753, allocations: 0.7721 MB / 1.632 GB, free: 5.012 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/1.773, allocations: 16.09 MB / 1.648 GB, free: 4.23 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003909/1.777, allocations: 431 kB / 1.648 GB, free: 3.809 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007241/1.778, allocations: 120.3 kB / 1.648 GB, free: 3.691 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006827/1.779, allocations: 176.2 kB / 1.648 GB, free: 3.512 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008858/1.788, allocations: 4.115 MB / 1.652 GB, free: 15.37 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/1.788, allocations: 138.3 kB / 1.653 GB, free: 15.23 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00986/1.798, allocations: 4.782 MB / 1.657 GB, free: 10.39 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.798, allocations: 19.98 kB / 1.657 GB, free: 10.38 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/1.798, allocations: 8 kB / 1.657 GB, free: 10.37 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/1.798, allocations: 11.97 kB / 1.657 GB, free: 10.36 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/1.813, allocations: 8.039 MB / 1.665 GB, free: 2.105 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/1.813, allocations: 11.94 kB / 1.665 GB, free: 2.094 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002594/1.816, allocations: 0.5186 MB / 1.666 GB, free: 1.574 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003537/1.819, allocations: 1.161 MB / 1.667 GB, free: 404 kB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002871/1.82, allocations: 27.97 kB / 1.667 GB, free: 376 kB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/1.84, allocations: 15.89 MB / 1.682 GB, free: 15.77 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/1.84, allocations: 11.94 kB / 1.682 GB, free: 15.76 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008605/1.848, allocations: 4.406 MB / 1.687 GB, free: 11.07 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/1.85, allocations: 0.5421 MB / 1.687 GB, free: 10.51 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005021/1.85, allocations: 11.98 kB / 1.687 GB, free: 10.5 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/1.853, allocations: 415.2 kB / 1.688 GB, free: 10.09 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004932/1.854, allocations: 157 kB / 1.688 GB, free: 9.941 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/1.854, allocations: 59.95 kB / 1.688 GB, free: 9.883 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001532/1.856, allocations: 0.7426 MB / 1.688 GB, free: 9.129 MB / 1.104 GB Notification: Performance of sort global known variables: time 6.81e-07/1.856, allocations: 0 / 1.688 GB, free: 9.129 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.005929/1.862, allocations: 1.191 MB / 1.69 GB, free: 7.938 MB / 1.104 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 (104): * Single equations (assignments): 98 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009444/1.871, allocations: 6.86 MB / 1.696 GB, free: 0.8438 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01485/1.886, allocations: 7.662 MB / 1.704 GB, free: 9.074 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/1.886, allocations: 2.5 kB / 1.704 GB, free: 9.074 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.005101/1.891, allocations: 2.695 MB / 1.706 GB, free: 6.316 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/1.893, allocations: 165.3 kB / 1.707 GB, free: 6.156 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03217/1.925, allocations: 6.972 MB / 1.713 GB, free: 15.04 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/1.928, allocations: 2.423 MB / 1.716 GB, free: 12.57 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.004372/1.933, allocations: 1.301 MB / 1.717 GB, free: 11.27 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.934, allocations: 0.9015 MB / 1.718 GB, free: 10.36 MB / 1.135 GB Notification: Performance of SimCode: time 1.132e-06/1.934, allocations: 0 / 1.718 GB, free: 10.36 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8076/2.742, allocations: 60.02 MB / 1.777 GB, free: 332.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/2.742, allocations: 177.2 kB / 1.777 GB, free: 332.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.917/6.659, allocations: 1.828 kB / 1.777 GB, free: 332.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat does not exist to compare? outputFormat=mat