Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001116/0.001116, allocations: 183.2 kB / 498.1 MB, free: 5.793 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.512/1.512, allocations: 223.1 MB / 0.7948 GB, free: 17.86 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.0009273/0.0009271, allocations: 88.36 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004129, allocations: 8 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3192, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.5586, allocations: 203.5 MB / 1.422 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.559, allocations: 107.9 kB / 1.422 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.8206/1.38, allocations: 73.96 MB / 1.494 GB, free: 158.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.633e-06/1.38, allocations: 0 / 1.494 GB, free: 158.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.132e-05/1.38, allocations: 35.94 kB / 1.494 GB, free: 158.3 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003003/1.383, allocations: 1.663 MB / 1.496 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.383, allocations: 12.02 kB / 1.496 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000322/1.383, allocations: 248.2 kB / 1.496 GB, free: 156.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/1.386, allocations: 0.5013 MB / 1.496 GB, free: 155.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/1.388, allocations: 1.151 MB / 1.498 GB, free: 154.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/1.388, allocations: 115.1 kB / 1.498 GB, free: 154.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/1.388, allocations: 155.9 kB / 1.498 GB, free: 154.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/1.392, allocations: 2.481 MB / 1.5 GB, free: 151.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/1.392, allocations: 0 / 1.5 GB, free: 151.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/1.392, allocations: 64 kB / 1.5 GB, free: 151.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.757e-05/1.392, allocations: 87.06 kB / 1.5 GB, free: 151.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/1.395, allocations: 2.042 MB / 1.502 GB, free: 149.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/1.405, allocations: 10.52 MB / 1.513 GB, free: 138.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008221/1.406, allocations: 0.5804 MB / 1.513 GB, free: 137.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.332e-05/1.406, allocations: 89.69 kB / 1.513 GB, free: 137.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/1.406, allocations: 38.56 kB / 1.513 GB, free: 137.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/1.406, allocations: 3.938 kB / 1.513 GB, free: 137.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=52): time 0.01562/1.421, allocations: 5.72 MB / 1.519 GB, free: 131.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/1.422, allocations: 85.5 kB / 1.519 GB, free: 131.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/1.422, allocations: 0.8117 MB / 1.52 GB, free: 130.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/1.423, allocations: 33.7 kB / 1.52 GB, free: 130.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/1.423, allocations: 0.7577 MB / 1.521 GB, free: 130 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/1.423, allocations: 181.4 kB / 1.521 GB, free: 129.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/1.423, allocations: 20 kB / 1.521 GB, free: 129.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.423, allocations: 394.8 kB / 1.521 GB, free: 129.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007846/1.424, allocations: 0.6343 MB / 1.522 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009051/1.425, allocations: 1.003 MB / 1.523 GB, free: 127.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009578/1.426, allocations: 0.8179 MB / 1.523 GB, free: 126.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.426, allocations: 4 kB / 1.523 GB, free: 126.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006532/1.432, allocations: 2.936 MB / 1.526 GB, free: 123.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007944/1.433, allocations: 4.532 MB / 1.531 GB, free: 118.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/1.433, allocations: 8 kB / 1.531 GB, free: 118.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005701/1.439, allocations: 1.568 MB / 1.532 GB, free: 117.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008358/1.44, allocations: 227.6 kB / 1.533 GB, free: 117.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006934/1.447, allocations: 7.112 MB / 1.539 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/1.448, allocations: 163.6 kB / 1.54 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/1.448, allocations: 47.98 kB / 1.54 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/1.448, allocations: 4 kB / 1.54 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005103/1.453, allocations: 2.403 MB / 1.542 GB, free: 107 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/1.453, allocations: 12 kB / 1.542 GB, free: 107 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003886/1.457, allocations: 0.9972 MB / 1.543 GB, free: 106 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009546/1.458, allocations: 263.5 kB / 1.543 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005886/1.464, allocations: 5.59 MB / 1.549 GB, free: 99.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.465, allocations: 151.8 kB / 1.549 GB, free: 99.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-05/1.465, allocations: 36 kB / 1.549 GB, free: 99.72 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.00136/1.467, allocations: 0.8439 MB / 1.55 GB, free: 98.86 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/1.467, allocations: 79.06 kB / 1.55 GB, free: 98.79 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006084/1.473, allocations: 2.469 MB / 1.552 GB, free: 96.29 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/1.473, allocations: 8 kB / 1.552 GB, free: 96.28 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.473, allocations: 0 / 1.552 GB, free: 96.28 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.473, allocations: 3.984 kB / 1.552 GB, free: 96.27 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008458/1.481, allocations: 4.295 MB / 1.556 GB, free: 91.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.482, allocations: 4 kB / 1.556 GB, free: 91.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/1.482, allocations: 103.8 kB / 1.557 GB, free: 91.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005658/1.488, allocations: 1.505 MB / 1.558 GB, free: 90.26 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.073e-05/1.488, allocations: 8 kB / 1.558 GB, free: 90.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/1.498, allocations: 9.938 MB / 1.568 GB, free: 79.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.498, allocations: 0 / 1.568 GB, free: 79.79 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007591/1.506, allocations: 2.525 MB / 1.57 GB, free: 77.15 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007848/1.507, allocations: 288 kB / 1.57 GB, free: 76.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/1.507, allocations: 15.95 kB / 1.57 GB, free: 76.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008849/1.508, allocations: 111.8 kB / 1.571 GB, free: 76.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/1.508, allocations: 59.61 kB / 1.571 GB, free: 76.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/1.508, allocations: 20 kB / 1.571 GB, free: 76.65 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008665/1.509, allocations: 0.6317 MB / 1.571 GB, free: 76.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2e-07/1.509, allocations: 4 kB / 1.571 GB, free: 76.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002126/1.511, allocations: 0.6249 MB / 1.572 GB, free: 75.39 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006287/1.517, allocations: 3.723 MB / 1.576 GB, free: 71.58 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004729/1.522, allocations: 3.084 MB / 1.579 GB, free: 68.45 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.522, allocations: 4.672 kB / 1.579 GB, free: 68.45 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/1.524, allocations: 1.283 MB / 1.58 GB, free: 67.11 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/1.525, allocations: 220.5 kB / 1.58 GB, free: 66.89 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.541, allocations: 17.18 MB / 1.597 GB, free: 49.38 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/1.542, allocations: 1.645 MB / 1.598 GB, free: 47.71 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001293/1.544, allocations: 490.2 kB / 1.599 GB, free: 47.22 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005635/1.544, allocations: 487.3 kB / 1.599 GB, free: 46.75 MB / 0.9167 GB Notification: Performance of SimCode: time 1.223e-06/1.544, allocations: 4 kB / 1.599 GB, free: 46.74 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04832/1.593, allocations: 33.63 MB / 1.632 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/1.593, allocations: 234.3 kB / 1.632 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/4.195, allocations: 0 / 1.632 GB, free: 13.21 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat does not exist to compare? outputFormat=mat