Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.663/2.663, allocations: 390.5 MB / 398 MB, free: 10.98 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.00166/0.00166, allocations: 179.8 kB / 491.2 MB, free: 1.555 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.611/1.611, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009272/0.0009272, allocations: 91.89 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.915e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2595, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9186/1.178, allocations: 183.2 MB / 1.391 GB, free: 14.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.179, allocations: 95.44 kB / 1.391 GB, free: 14.68 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5003/1.679, allocations: 212.9 MB / 1.599 GB, free: 9.277 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.724e-06/1.679, allocations: 0 / 1.599 GB, free: 9.277 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0004199/1.679, allocations: 144 kB / 1.599 GB, free: 9.137 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01797/1.697, allocations: 4.863 MB / 1.604 GB, free: 4.211 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/1.697, allocations: 12.03 kB / 1.604 GB, free: 4.199 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008048/1.705, allocations: 1.144 MB / 1.605 GB, free: 3.047 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009439/1.715, allocations: 3.689 MB / 1.609 GB, free: 15.3 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/1.715, allocations: 184 kB / 1.609 GB, free: 15.12 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001985/1.717, allocations: 335.9 kB / 1.609 GB, free: 14.79 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01398/1.731, allocations: 5.689 MB / 1.615 GB, free: 9.102 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/1.753, allocations: 7.868 MB / 1.623 GB, free: 0.7969 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002071/1.753, allocations: 19.86 kB / 1.623 GB, free: 0.7773 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008883/1.754, allocations: 12 kB / 1.623 GB, free: 0.7656 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003343/1.754, allocations: 295 kB / 1.623 GB, free: 488 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05034/1.805, allocations: 40.26 MB / 1.662 GB, free: 4.496 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005035/1.81, allocations: 2.979 MB / 1.665 GB, free: 1.512 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002986/1.813, allocations: 2.067 MB / 1.667 GB, free: 15.45 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/1.813, allocations: 22 kB / 1.667 GB, free: 15.42 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.602e-05/1.813, allocations: 56.56 kB / 1.667 GB, free: 15.36 MB / 1.089 GB Notification: Performance of pre-optimization done (n=209): time 4.609e-06/1.813, allocations: 0 / 1.667 GB, free: 15.36 MB / 1.089 GB Notification: Performance of matching and sorting (n=212): time 0.01177/1.825, allocations: 6.294 MB / 1.673 GB, free: 9.035 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/1.825, allocations: 73.41 kB / 1.674 GB, free: 8.949 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/1.827, allocations: 1.317 MB / 1.675 GB, free: 7.605 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0002648/1.827, allocations: 33.7 kB / 1.675 GB, free: 7.566 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.001885/1.829, allocations: 2.391 MB / 1.677 GB, free: 5.145 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008664/1.83, allocations: 0.7083 MB / 1.678 GB, free: 4.426 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/1.83, allocations: 0 / 1.678 GB, free: 4.426 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0002485/1.831, allocations: 407.1 kB / 1.678 GB, free: 4.023 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/1.832, allocations: 1.247 MB / 1.679 GB, free: 2.773 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/1.835, allocations: 2.012 MB / 1.681 GB, free: 420 kB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/1.837, allocations: 1.614 MB / 1.683 GB, free: 14.8 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/1.837, allocations: 8 kB / 1.683 GB, free: 14.79 MB / 1.104 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.008258/1.845, allocations: 4.598 MB / 1.688 GB, free: 10.17 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/1.845, allocations: 16 kB / 1.688 GB, free: 10.15 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.755e-05/1.845, allocations: 27.94 kB / 1.688 GB, free: 10.12 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005192/1.851, allocations: 1.4 MB / 1.689 GB, free: 8.719 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/1.854, allocations: 435.2 kB / 1.689 GB, free: 8.293 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02935/1.883, allocations: 16.45 MB / 1.705 GB, free: 7.371 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/1.886, allocations: 99.81 kB / 1.705 GB, free: 7.273 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004075/1.886, allocations: 108.1 kB / 1.706 GB, free: 7.168 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004895/1.887, allocations: 172.2 kB / 1.706 GB, free: 6.992 MB / 1.12 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007144/1.894, allocations: 3.983 MB / 1.71 GB, free: 2.984 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008109/1.895, allocations: 268.9 kB / 1.71 GB, free: 2.719 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007589/1.902, allocations: 4.174 MB / 1.714 GB, free: 14.52 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/1.902, allocations: 20 kB / 1.714 GB, free: 14.5 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.824e-05/1.902, allocations: 20 kB / 1.714 GB, free: 14.48 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/1.902, allocations: 15.95 kB / 1.714 GB, free: 14.46 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/1.919, allocations: 8.541 MB / 1.722 GB, free: 5.793 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/1.919, allocations: 4 kB / 1.722 GB, free: 5.789 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/1.92, allocations: 232.2 kB / 1.723 GB, free: 5.562 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/1.923, allocations: 1.376 MB / 1.724 GB, free: 4.176 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.923, allocations: 4 kB / 1.724 GB, free: 4.172 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02124/1.944, allocations: 16.41 MB / 1.74 GB, free: 3.301 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/1.944, allocations: 11.98 kB / 1.74 GB, free: 3.289 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7611/2.706, allocations: 4.613 MB / 1.744 GB, free: 281.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/2.707, allocations: 0.5986 MB / 1.745 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/2.708, allocations: 9.75 kB / 1.745 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/2.709, allocations: 82.75 kB / 1.745 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005026/2.709, allocations: 176.2 kB / 1.745 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/2.71, allocations: 58.47 kB / 1.745 GB, free: 281.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00152/2.711, allocations: 0.9769 MB / 1.746 GB, free: 281.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/2.711, allocations: 0 / 1.746 GB, free: 281.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004164/2.715, allocations: 1.053 MB / 1.747 GB, free: 281.7 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 (107): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007439/2.723, allocations: 6.33 MB / 1.754 GB, free: 279.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0075/2.73, allocations: 4.323 MB / 1.758 GB, free: 278.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/2.73, allocations: 2.406 kB / 1.758 GB, free: 278.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004526/2.735, allocations: 2.742 MB / 1.76 GB, free: 278.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/2.739, allocations: 0.6918 MB / 1.761 GB, free: 278.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/2.763, allocations: 8.702 MB / 1.77 GB, free: 276.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005494/2.768, allocations: 3.783 MB / 1.773 GB, free: 275.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002683/2.771, allocations: 0.5181 MB / 1.774 GB, free: 275.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/2.773, allocations: 1.943 MB / 1.776 GB, free: 275.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.195e-06/2.773, allocations: 0 / 1.776 GB, free: 275.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/2.916, allocations: 76.32 MB / 1.85 GB, free: 273.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/2.916, allocations: 166.4 kB / 1.85 GB, free: 272.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.194/7.11, allocations: 0 / 1.85 GB, free: 272.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat does not exist to compare? outputFormat=mat