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.43/2.43, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001161/0.001162, allocations: 168 kB / 0.4901 GB, free: 2.242 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.614/1.614, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.001097/0.001097, allocations: 108 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003903, allocations: 8.688 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3186, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2215/0.5402, allocations: 183.9 MB / 1.409 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004294/0.5407, allocations: 99.92 kB / 1.409 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.143/1.683, allocations: 214.6 MB / 1.619 GB, free: 22.54 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.197e-06/1.683, allocations: 0 / 1.619 GB, free: 22.54 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0007147/1.684, allocations: 147.9 kB / 1.619 GB, free: 22.39 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02205/1.706, allocations: 5.234 MB / 1.624 GB, free: 17.09 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/1.706, allocations: 8.031 kB / 1.624 GB, free: 17.08 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005037/1.711, allocations: 0.841 MB / 1.625 GB, free: 16.23 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008625/1.72, allocations: 1.144 MB / 1.626 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/1.732, allocations: 3.7 MB / 1.629 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005146/1.733, allocations: 431.6 kB / 1.63 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003265/1.736, allocations: 0.5507 MB / 1.63 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02995/1.766, allocations: 8.815 MB / 1.639 GB, free: 1.094 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006306/1.767, allocations: 27.8 kB / 1.639 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004253/1.771, allocations: 256 kB / 1.639 GB, free: 0.8164 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004687/1.772, allocations: 295 kB / 1.64 GB, free: 0.5273 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/1.791, allocations: 6.445 MB / 1.646 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07069/1.862, allocations: 41.46 MB / 1.686 GB, free: 12.87 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005749/1.868, allocations: 3.1 MB / 1.689 GB, free: 9.758 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/1.868, allocations: 22 kB / 1.689 GB, free: 9.738 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/1.868, allocations: 64.5 kB / 1.689 GB, free: 9.668 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=209): time 3.146e-06/1.868, allocations: 4 kB / 1.689 GB, free: 9.664 MB / 0.9792 GB Notification: Performance of matching and sorting (n=212): time 0.02902/1.897, allocations: 10.47 MB / 1.7 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/1.897, allocations: 73.41 kB / 1.7 GB, free: 15 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/1.901, allocations: 1.673 MB / 1.701 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003386/1.902, allocations: 61.7 kB / 1.701 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002248/1.904, allocations: 2.377 MB / 1.704 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.905, allocations: 0.7278 MB / 1.704 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/1.905, allocations: 48 kB / 1.704 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003297/1.906, allocations: 419.1 kB / 1.705 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/1.908, allocations: 1.317 MB / 1.706 GB, free: 8.324 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003128/1.911, allocations: 2.097 MB / 1.708 GB, free: 5.879 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/1.914, allocations: 1.685 MB / 1.71 GB, free: 4.195 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.539e-05/1.914, allocations: 8 kB / 1.71 GB, free: 4.188 MB / 0.9948 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.009498/1.924, allocations: 4.972 MB / 1.715 GB, free: 15.19 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/1.924, allocations: 16.22 kB / 1.715 GB, free: 15.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.511e-05/1.924, allocations: 28 kB / 1.715 GB, free: 15.15 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003696/1.927, allocations: 1.528 MB / 1.716 GB, free: 13.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/1.929, allocations: 451.2 kB / 1.717 GB, free: 13.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02576/1.955, allocations: 17.68 MB / 1.734 GB, free: 10.96 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/1.958, allocations: 151.9 kB / 1.734 GB, free: 10.81 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006661/1.959, allocations: 112 kB / 1.734 GB, free: 10.7 MB / 1.026 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 () * Number of clocked 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,72.2%) 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.005628/1.965, allocations: 1.937 MB / 1.736 GB, free: 8.75 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.966, allocations: 288.7 kB / 1.736 GB, free: 8.465 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009205/1.975, allocations: 4.435 MB / 1.741 GB, free: 3.996 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/1.975, allocations: 24 kB / 1.741 GB, free: 3.973 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.907e-05/1.975, allocations: 16 kB / 1.741 GB, free: 3.957 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.821e-05/1.975, allocations: 11.95 kB / 1.741 GB, free: 3.945 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02448/2, allocations: 9.641 MB / 1.75 GB, free: 10.16 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/2, allocations: 4 kB / 1.75 GB, free: 10.16 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/2.001, allocations: 243.6 kB / 1.75 GB, free: 9.922 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003442/2.004, allocations: 1.395 MB / 1.752 GB, free: 8.516 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/2.004, allocations: 44 kB / 1.752 GB, free: 8.473 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02547/2.03, allocations: 17.71 MB / 1.769 GB, free: 6.23 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/2.03, allocations: 7.953 kB / 1.769 GB, free: 6.223 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009386/2.039, allocations: 4.876 MB / 1.774 GB, free: 1.148 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0026/2.042, allocations: 0.6264 MB / 1.774 GB, free: 0.5 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/2.043, allocations: 39.95 kB / 1.775 GB, free: 472 kB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/2.045, allocations: 115.9 kB / 1.775 GB, free: 356 kB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007333/2.046, allocations: 181.6 kB / 1.775 GB, free: 172 kB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/2.046, allocations: 64 kB / 1.775 GB, free: 108 kB / 1.057 GB Notification: Performance of sorting global known variables: time 0.003093/2.049, allocations: 1.26 MB / 1.776 GB, free: 14.84 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.6e-07/2.049, allocations: 0 / 1.776 GB, free: 14.84 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.005643/2.055, allocations: 1.18 MB / 1.777 GB, free: 13.66 MB / 1.073 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 (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.009712/2.065, allocations: 6.58 MB / 1.784 GB, free: 6.91 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.008484/2.073, allocations: 4.61 MB / 1.788 GB, free: 2.246 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 9.729e-06/2.073, allocations: 0 / 1.788 GB, free: 2.246 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.005099/2.078, allocations: 2.918 MB / 1.791 GB, free: 15.29 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00438/2.083, allocations: 0.7589 MB / 1.792 GB, free: 14.54 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06626/2.149, allocations: 42.96 MB / 1.834 GB, free: 1.742 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007194/2.156, allocations: 3.783 MB / 1.837 GB, free: 13.92 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002453/2.159, allocations: 0.5512 MB / 1.838 GB, free: 13.37 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002883/2.162, allocations: 1.951 MB / 1.84 GB, free: 11.42 MB / 1.135 GB Notification: Performance of SimCode: time 1.573e-06/2.162, allocations: 0 / 1.84 GB, free: 11.42 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.759/2.921, allocations: 81.16 MB / 1.919 GB, free: 279.5 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/2.921, allocations: 233.6 kB / 1.919 GB, free: 279.3 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.114/7.035, allocations: 0 / 1.919 GB, free: 279.3 MB / 1.135 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