Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.256/2.256, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001064/0.001064, allocations: 169.1 kB / 498.1 MB, free: 5.746 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.489/1.489, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009689/0.0009689, allocations: 102.5 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.000381, allocations: 10.72 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2786, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.4914, allocations: 182.5 MB / 1.401 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.4917, allocations: 95.94 kB / 1.401 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.9473/1.439, allocations: 192.2 MB / 1.589 GB, free: 58.21 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.156e-06/1.439, allocations: 0 / 1.589 GB, free: 58.21 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002878/1.439, allocations: 119.9 kB / 1.589 GB, free: 58.1 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01274/1.452, allocations: 4.108 MB / 1.593 GB, free: 53.92 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.452, allocations: 8.031 kB / 1.593 GB, free: 53.91 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002724/1.455, allocations: 0.6896 MB / 1.594 GB, free: 53.21 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006595/1.462, allocations: 0.958 MB / 1.595 GB, free: 52.25 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007969/1.47, allocations: 2.991 MB / 1.598 GB, free: 49.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003215/1.47, allocations: 349.3 kB / 1.598 GB, free: 48.85 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/1.472, allocations: 459.8 kB / 1.598 GB, free: 48.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01952/1.491, allocations: 7.309 MB / 1.605 GB, free: 40.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003178/1.492, allocations: 31.72 kB / 1.605 GB, free: 40.61 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001859/1.494, allocations: 212 kB / 1.606 GB, free: 40.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003536/1.494, allocations: 281 kB / 1.606 GB, free: 40.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/1.508, allocations: 5.172 MB / 1.611 GB, free: 34.93 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0421/1.55, allocations: 35.08 MB / 1.645 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/1.554, allocations: 2.129 MB / 1.647 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/1.554, allocations: 13.31 kB / 1.647 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/1.554, allocations: 47.88 kB / 1.647 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=133): time 3.747e-06/1.554, allocations: 0 / 1.647 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of matching and sorting (n=136): time 0.01538/1.569, allocations: 7.065 MB / 1.654 GB, free: 2.992 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/1.569, allocations: 68.72 kB / 1.654 GB, free: 2.914 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/1.572, allocations: 1.272 MB / 1.656 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/1.572, allocations: 45.7 kB / 1.656 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001616/1.574, allocations: 1.984 MB / 1.658 GB, free: 15.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005465/1.574, allocations: 493 kB / 1.658 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.574, allocations: 36 kB / 1.658 GB, free: 15.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002112/1.575, allocations: 377.9 kB / 1.658 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/1.576, allocations: 0.8979 MB / 1.659 GB, free: 13.74 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/1.578, allocations: 1.563 MB / 1.661 GB, free: 11.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/1.58, allocations: 1.166 MB / 1.662 GB, free: 10.71 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/1.58, allocations: 8 kB / 1.662 GB, free: 10.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006571/1.586, allocations: 3.488 MB / 1.665 GB, free: 7.172 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/1.586, allocations: 20 kB / 1.665 GB, free: 7.152 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.514e-05/1.586, allocations: 20 kB / 1.665 GB, free: 7.133 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/1.589, allocations: 0.9076 MB / 1.666 GB, free: 6.188 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.59, allocations: 351.3 kB / 1.667 GB, free: 5.844 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02083/1.611, allocations: 21.56 MB / 1.688 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/1.613, allocations: 104 kB / 1.688 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/1.614, allocations: 84 kB / 1.688 GB, free: 14.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004753/1.618, allocations: 1.602 MB / 1.689 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008012/1.619, allocations: 209.5 kB / 1.69 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006347/1.626, allocations: 2.974 MB / 1.693 GB, free: 9.648 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/1.626, allocations: 12 kB / 1.693 GB, free: 9.637 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-05/1.626, allocations: 8 kB / 1.693 GB, free: 9.629 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/1.626, allocations: 7.984 kB / 1.693 GB, free: 9.621 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/1.642, allocations: 7.263 MB / 1.7 GB, free: 2.125 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.642, allocations: 12.09 kB / 1.7 GB, free: 2.113 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/1.643, allocations: 171.7 kB / 1.7 GB, free: 1.945 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/1.645, allocations: 0.8257 MB / 1.701 GB, free: 1.082 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/1.646, allocations: 32 kB / 1.701 GB, free: 1.051 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01958/1.665, allocations: 20.62 MB / 1.721 GB, free: 10.83 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.467e-06/1.665, allocations: 8.312 kB / 1.721 GB, free: 10.82 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006239/1.671, allocations: 3.292 MB / 1.724 GB, free: 7.25 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.673, allocations: 454.5 kB / 1.725 GB, free: 6.785 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006304/1.674, allocations: 39.98 kB / 1.725 GB, free: 6.746 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.675, allocations: 68.39 kB / 1.725 GB, free: 6.68 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004157/1.675, allocations: 128.7 kB / 1.725 GB, free: 6.555 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.675, allocations: 36 kB / 1.725 GB, free: 6.52 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002129/1.678, allocations: 0.96 MB / 1.726 GB, free: 5.535 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.763e-06/1.678, allocations: 0 / 1.726 GB, free: 5.535 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003928/1.681, allocations: 0.828 MB / 1.727 GB, free: 4.707 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006375/1.688, allocations: 5.043 MB / 1.731 GB, free: 15.48 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.006299/1.694, allocations: 3.995 MB / 1.735 GB, free: 11.32 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.694, allocations: 1.562 kB / 1.735 GB, free: 11.32 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0039/1.698, allocations: 2.721 MB / 1.738 GB, free: 8.445 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/1.702, allocations: 0.6461 MB / 1.739 GB, free: 7.801 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04804/1.75, allocations: 33.5 MB / 1.771 GB, free: 5.012 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0066/1.756, allocations: 3.193 MB / 1.774 GB, free: 1.789 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.002269/1.759, allocations: 453.8 kB / 1.775 GB, free: 1.344 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00299/1.762, allocations: 1.55 MB / 1.776 GB, free: 15.79 MB / 1.073 GB Notification: Performance of SimCode: time 1.743e-06/1.762, allocations: 4 kB / 1.776 GB, free: 15.79 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/1.868, allocations: 59.42 MB / 1.834 GB, free: 5.008 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/1.868, allocations: 224.1 kB / 1.835 GB, free: 4.766 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.55/5.418, allocations: 3.938 kB / 1.835 GB, free: 4.762 MB / 1.12 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat