Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.499/2.499, allocations: 390.5 MB / 398 MB, free: 11 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.001291/0.00129, allocations: 188.7 kB / 491.2 MB, free: 1.578 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.584/1.584, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001393/0.001393, allocations: 93.45 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.672e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3307, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.406, allocations: 182.7 MB / 1.391 GB, free: 14.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/1.406, allocations: 98.58 kB / 1.391 GB, free: 14.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5094/1.916, allocations: 210.7 MB / 1.597 GB, free: 12.12 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.925e-06/1.916, allocations: 0 / 1.597 GB, free: 12.12 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0005622/1.916, allocations: 140 kB / 1.597 GB, free: 11.98 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01874/1.935, allocations: 4.458 MB / 1.601 GB, free: 7.457 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/1.935, allocations: 8.031 kB / 1.601 GB, free: 7.449 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008803/1.944, allocations: 1.047 MB / 1.602 GB, free: 6.395 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009897/1.954, allocations: 3.391 MB / 1.606 GB, free: 2.945 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003474/1.954, allocations: 184 kB / 1.606 GB, free: 2.766 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002541/1.957, allocations: 327.8 kB / 1.606 GB, free: 2.445 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01637/1.973, allocations: 5.446 MB / 1.611 GB, free: 13 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02612/1.999, allocations: 7.678 MB / 1.619 GB, free: 4.891 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004116/2, allocations: 35.61 kB / 1.619 GB, free: 4.855 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002197/2.002, allocations: 12 kB / 1.619 GB, free: 4.844 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004216/2.003, allocations: 310.8 kB / 1.619 GB, free: 4.539 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05999/2.063, allocations: 38.96 MB / 1.657 GB, free: 9.891 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004767/2.067, allocations: 3.005 MB / 1.66 GB, free: 6.742 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003652/2.071, allocations: 1.903 MB / 1.662 GB, free: 4.84 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/2.071, allocations: 22 kB / 1.662 GB, free: 4.816 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/2.072, allocations: 48.56 kB / 1.662 GB, free: 4.762 MB / 1.073 GB Notification: Performance of pre-optimization done (n=179): time 5.881e-06/2.072, allocations: 0 / 1.662 GB, free: 4.762 MB / 1.073 GB Notification: Performance of matching and sorting (n=182): time 0.01428/2.086, allocations: 5.799 MB / 1.668 GB, free: 14.93 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/2.086, allocations: 69.41 kB / 1.668 GB, free: 14.85 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/2.089, allocations: 1.093 MB / 1.669 GB, free: 13.76 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.000328/2.089, allocations: 33.62 kB / 1.669 GB, free: 13.72 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.001621/2.091, allocations: 2.249 MB / 1.671 GB, free: 11.45 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008562/2.091, allocations: 0.6043 MB / 1.672 GB, free: 10.83 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/2.092, allocations: 0 / 1.672 GB, free: 10.83 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0002446/2.092, allocations: 402.3 kB / 1.672 GB, free: 10.43 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/2.094, allocations: 1.102 MB / 1.673 GB, free: 9.328 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/2.096, allocations: 1.768 MB / 1.675 GB, free: 7.254 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/2.098, allocations: 1.442 MB / 1.676 GB, free: 5.812 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/2.098, allocations: 4 kB / 1.676 GB, free: 5.809 MB / 1.089 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007914/2.106, allocations: 4.212 MB / 1.68 GB, free: 1.574 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/2.106, allocations: 19.95 kB / 1.68 GB, free: 1.555 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/2.106, allocations: 24.16 kB / 1.68 GB, free: 1.531 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003669/2.11, allocations: 1.448 MB / 1.682 GB, free: 80 kB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/2.111, allocations: 343.4 kB / 1.682 GB, free: 15.74 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/2.132, allocations: 16.4 MB / 1.698 GB, free: 14.87 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/2.134, allocations: 79.83 kB / 1.698 GB, free: 14.79 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004721/2.135, allocations: 92 kB / 1.698 GB, free: 14.7 MB / 1.12 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006376/2.136, allocations: 160.4 kB / 1.699 GB, free: 14.54 MB / 1.12 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006623/2.142, allocations: 3.671 MB / 1.702 GB, free: 10.84 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006387/2.143, allocations: 213.5 kB / 1.702 GB, free: 10.63 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007064/2.15, allocations: 3.86 MB / 1.706 GB, free: 6.742 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/2.15, allocations: 16 kB / 1.706 GB, free: 6.727 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.56e-05/2.15, allocations: 16 kB / 1.706 GB, free: 6.711 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-05/2.15, allocations: 11.97 kB / 1.706 GB, free: 6.699 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/2.168, allocations: 8.337 MB / 1.714 GB, free: 14.14 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/2.168, allocations: 8.125 kB / 1.714 GB, free: 14.13 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009011/2.169, allocations: 183.7 kB / 1.714 GB, free: 13.95 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/2.172, allocations: 1.334 MB / 1.716 GB, free: 12.61 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/2.172, allocations: 8 kB / 1.716 GB, free: 12.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02071/2.193, allocations: 15.32 MB / 1.731 GB, free: 12.82 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/2.193, allocations: 4 kB / 1.731 GB, free: 12.81 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0077/2.201, allocations: 4.146 MB / 1.735 GB, free: 8.477 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/2.202, allocations: 0.5184 MB / 1.735 GB, free: 7.938 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006939/2.203, allocations: 8 kB / 1.735 GB, free: 7.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/2.205, allocations: 55.89 kB / 1.735 GB, free: 7.875 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/2.205, allocations: 161.7 kB / 1.735 GB, free: 7.719 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/2.205, allocations: 52 kB / 1.736 GB, free: 7.668 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001553/2.207, allocations: 0.8022 MB / 1.736 GB, free: 6.875 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.41e-07/2.207, allocations: 0 / 1.736 GB, free: 6.875 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00454/2.212, allocations: 0.9336 MB / 1.737 GB, free: 5.941 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.7952/3.007, allocations: 5.873 MB / 1.743 GB, free: 284 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009315/3.016, allocations: 3.989 MB / 1.747 GB, free: 283.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/3.016, allocations: 1.062 kB / 1.747 GB, free: 283.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00511/3.021, allocations: 2.504 MB / 1.749 GB, free: 283 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0038/3.025, allocations: 0.6196 MB / 1.75 GB, free: 283 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/3.045, allocations: 8.097 MB / 1.758 GB, free: 281.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004961/3.05, allocations: 3.666 MB / 1.761 GB, free: 280.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001931/3.052, allocations: 452.2 kB / 1.762 GB, free: 280.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/3.054, allocations: 1.791 MB / 1.764 GB, free: 280.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.011e-06/3.054, allocations: 1.219 kB / 1.764 GB, free: 280.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1472/3.201, allocations: 68.28 MB / 1.83 GB, free: 278.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/3.201, allocations: 169 kB / 1.83 GB, free: 278 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.64/6.841, allocations: 0 / 1.83 GB, free: 278 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat does not exist to compare? outputFormat=mat