Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.371/2.371, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001822/0.001822, allocations: 183.4 kB / 0.4901 GB, free: 2.227 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.54/1.54, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009325/0.0009325, allocations: 98.92 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 7.562 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.306, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3024/0.6084, allocations: 183.2 MB / 1.408 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004394/0.6089, allocations: 95.94 kB / 1.408 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.298/1.907, allocations: 192.2 MB / 1.596 GB, free: 46.23 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.096e-06/1.907, allocations: 4 kB / 1.596 GB, free: 46.22 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003673/1.907, allocations: 119.9 kB / 1.596 GB, free: 46.11 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.0128/1.92, allocations: 4.104 MB / 1.6 GB, free: 41.93 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.92, allocations: 12.03 kB / 1.6 GB, free: 41.92 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002927/1.923, allocations: 0.6935 MB / 1.601 GB, free: 41.21 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006759/1.93, allocations: 0.9503 MB / 1.602 GB, free: 40.26 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008576/1.939, allocations: 2.987 MB / 1.605 GB, free: 37.21 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002791/1.939, allocations: 341.3 kB / 1.605 GB, free: 36.88 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001874/1.941, allocations: 467.9 kB / 1.605 GB, free: 36.42 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01765/1.958, allocations: 7.313 MB / 1.613 GB, free: 28.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002474/1.959, allocations: 31.62 kB / 1.613 GB, free: 28.61 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/1.96, allocations: 208 kB / 1.613 GB, free: 28.41 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003234/1.96, allocations: 273 kB / 1.613 GB, free: 28.14 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/1.971, allocations: 5.188 MB / 1.618 GB, free: 22.94 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03764/2.008, allocations: 35.07 MB / 1.652 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/2.012, allocations: 2.137 MB / 1.654 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/2.012, allocations: 21.31 kB / 1.654 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/2.012, allocations: 43.88 kB / 1.655 GB, free: 14.33 MB / 0.948 GB Notification: Performance of pre-optimization done (n=133): time 4.238e-06/2.012, allocations: 0 / 1.655 GB, free: 14.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.01469/2.026, allocations: 7.069 MB / 1.661 GB, free: 6.988 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/2.027, allocations: 68.7 kB / 1.661 GB, free: 6.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/2.029, allocations: 1.272 MB / 1.663 GB, free: 5.598 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/2.029, allocations: 45.7 kB / 1.663 GB, free: 5.547 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001457/2.031, allocations: 1.984 MB / 1.665 GB, free: 3.535 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004721/2.031, allocations: 489 kB / 1.665 GB, free: 3.051 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/2.031, allocations: 40 kB / 1.665 GB, free: 3.012 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001762/2.031, allocations: 373.9 kB / 1.666 GB, free: 2.641 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/2.033, allocations: 0.8979 MB / 1.666 GB, free: 1.742 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/2.035, allocations: 1.563 MB / 1.668 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/2.036, allocations: 1.166 MB / 1.669 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/2.036, allocations: 8 kB / 1.669 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006435/2.043, allocations: 3.487 MB / 1.673 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/2.043, allocations: 12 kB / 1.673 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.21e-05/2.043, allocations: 27.98 kB / 1.673 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002694/2.046, allocations: 0.8964 MB / 1.673 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/2.047, allocations: 351.4 kB / 1.674 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/2.069, allocations: 21.56 MB / 1.695 GB, free: 2.688 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/2.071, allocations: 100.5 kB / 1.695 GB, free: 2.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004151/2.071, allocations: 84 kB / 1.695 GB, free: 2.508 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.004199/2.075, allocations: 1.607 MB / 1.697 GB, free: 0.8906 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007367/2.076, allocations: 205.5 kB / 1.697 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006007/2.082, allocations: 2.986 MB / 1.7 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/2.082, allocations: 16 kB / 1.7 GB, free: 13.63 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/2.082, allocations: 12 kB / 1.7 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/2.082, allocations: 3.984 kB / 1.7 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/2.098, allocations: 7.259 MB / 1.707 GB, free: 6.121 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/2.098, allocations: 4 kB / 1.707 GB, free: 6.117 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008587/2.099, allocations: 175.7 kB / 1.707 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002457/2.101, allocations: 0.8261 MB / 1.708 GB, free: 5.082 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/2.102, allocations: 28 kB / 1.708 GB, free: 5.055 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01949/2.121, allocations: 20.63 MB / 1.728 GB, free: 14.83 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/2.121, allocations: 4 kB / 1.728 GB, free: 14.83 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006078/2.127, allocations: 3.299 MB / 1.731 GB, free: 11.25 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/2.129, allocations: 458.5 kB / 1.732 GB, free: 10.78 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005724/2.129, allocations: 31.98 kB / 1.732 GB, free: 10.75 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/2.131, allocations: 67.92 kB / 1.732 GB, free: 10.68 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003957/2.131, allocations: 133.1 kB / 1.732 GB, free: 10.55 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/2.131, allocations: 36 kB / 1.732 GB, free: 10.52 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001483/2.133, allocations: 0.96 MB / 1.733 GB, free: 9.535 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.81e-07/2.133, allocations: 0 / 1.733 GB, free: 9.535 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.003428/2.136, allocations: 0.8242 MB / 1.734 GB, free: 8.711 MB / 1.026 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.00572/2.142, allocations: 5.046 MB / 1.739 GB, free: 3.473 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.006216/2.148, allocations: 3.981 MB / 1.742 GB, free: 15.34 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/2.148, allocations: 4.125 kB / 1.742 GB, free: 15.33 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.004145/2.152, allocations: 2.736 MB / 1.745 GB, free: 12.44 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/2.156, allocations: 0.6354 MB / 1.746 GB, free: 11.8 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03996/2.196, allocations: 33.49 MB / 1.778 GB, free: 9.016 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003726/2.199, allocations: 3.192 MB / 1.782 GB, free: 5.793 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001627/2.201, allocations: 457.8 kB / 1.782 GB, free: 5.344 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/2.203, allocations: 1.546 MB / 1.784 GB, free: 3.801 MB / 1.073 GB Notification: Performance of SimCode: time 1.223e-06/2.203, allocations: 0 / 1.784 GB, free: 3.801 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/2.306, allocations: 59.44 MB / 1.842 GB, free: 9.004 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/2.307, allocations: 220.9 kB / 1.842 GB, free: 8.77 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.799/6.105, allocations: 0 / 1.842 GB, free: 8.77 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat