Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_N,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001109/0.001109, allocations: 184.7 kB / 487.4 MB, free: 5.035 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.475/1.475, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008681/0.0008682, allocations: 99.58 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.259e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3333, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9948/1.328, allocations: 181.9 MB / 1.384 GB, free: 16.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.328, allocations: 93.5 kB / 1.384 GB, free: 16.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5082/1.837, allocations: 210.7 MB / 1.59 GB, free: 4.543 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.944e-06/1.837, allocations: 0 / 1.59 GB, free: 4.543 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005183/1.837, allocations: 139.9 kB / 1.59 GB, free: 4.406 MB / 0.9948 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.017/1.854, allocations: 4.454 MB / 1.594 GB, free: 15.88 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.854, allocations: 8.562 kB / 1.594 GB, free: 15.88 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008744/1.863, allocations: 1.039 MB / 1.595 GB, free: 14.83 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/1.874, allocations: 3.403 MB / 1.598 GB, free: 11.37 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004566/1.874, allocations: 180 kB / 1.599 GB, free: 11.19 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003602/1.878, allocations: 327.9 kB / 1.599 GB, free: 10.87 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01927/1.897, allocations: 5.442 MB / 1.604 GB, free: 5.426 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03002/1.927, allocations: 7.674 MB / 1.612 GB, free: 13.32 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004148/1.928, allocations: 35.62 kB / 1.612 GB, free: 13.29 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002254/1.93, allocations: 12 kB / 1.612 GB, free: 13.28 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004783/1.931, allocations: 326.8 kB / 1.612 GB, free: 12.96 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05408/1.985, allocations: 38.94 MB / 1.65 GB, free: 2.324 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004246/1.989, allocations: 3.027 MB / 1.653 GB, free: 15.16 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002865/1.992, allocations: 1.895 MB / 1.655 GB, free: 13.26 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/1.992, allocations: 18 kB / 1.655 GB, free: 13.24 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/1.992, allocations: 52.56 kB / 1.655 GB, free: 13.18 MB / 1.073 GB Notification: Performance of pre-optimization done (n=179): time 4.839e-06/1.992, allocations: 0 / 1.655 GB, free: 13.18 MB / 1.073 GB Notification: Performance of matching and sorting (n=182): time 0.0119/2.004, allocations: 5.783 MB / 1.661 GB, free: 7.371 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/2.004, allocations: 77.34 kB / 1.661 GB, free: 7.281 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/2.006, allocations: 1.093 MB / 1.662 GB, free: 6.191 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/2.006, allocations: 25.7 kB / 1.662 GB, free: 6.16 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001448/2.008, allocations: 2.252 MB / 1.664 GB, free: 3.879 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005541/2.009, allocations: 0.6004 MB / 1.665 GB, free: 3.27 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/2.009, allocations: 4 kB / 1.665 GB, free: 3.266 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.000182/2.009, allocations: 390.3 kB / 1.665 GB, free: 2.879 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/2.01, allocations: 1.105 MB / 1.666 GB, free: 1.77 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/2.012, allocations: 1.776 MB / 1.668 GB, free: 15.69 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/2.014, allocations: 1.438 MB / 1.669 GB, free: 14.25 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/2.014, allocations: 8 kB / 1.669 GB, free: 14.24 MB / 1.089 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007048/2.021, allocations: 4.208 MB / 1.673 GB, free: 10.01 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/2.021, allocations: 15.94 kB / 1.673 GB, free: 9.992 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.684e-05/2.021, allocations: 27.95 kB / 1.673 GB, free: 9.965 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003524/2.025, allocations: 1.449 MB / 1.675 GB, free: 8.508 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/2.026, allocations: 355.4 kB / 1.675 GB, free: 8.16 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/2.046, allocations: 16.42 MB / 1.691 GB, free: 7.27 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/2.048, allocations: 71.89 kB / 1.691 GB, free: 7.199 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/2.048, allocations: 92 kB / 1.691 GB, free: 7.109 MB / 1.104 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.0003657/2.049, allocations: 154.3 kB / 1.691 GB, free: 6.953 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006075/2.055, allocations: 3.686 MB / 1.695 GB, free: 3.246 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/2.055, allocations: 205.6 kB / 1.695 GB, free: 3.043 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006493/2.062, allocations: 3.845 MB / 1.699 GB, free: 15.16 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/2.062, allocations: 23.95 kB / 1.699 GB, free: 15.14 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/2.062, allocations: 16 kB / 1.699 GB, free: 15.12 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/2.062, allocations: 7.969 kB / 1.699 GB, free: 15.12 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/2.077, allocations: 8.356 MB / 1.707 GB, free: 6.539 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/2.077, allocations: 8 kB / 1.707 GB, free: 6.531 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/2.078, allocations: 188.2 kB / 1.707 GB, free: 6.348 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00325/2.081, allocations: 1.328 MB / 1.709 GB, free: 5.012 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/2.081, allocations: 4 kB / 1.709 GB, free: 5.008 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0185/2.1, allocations: 15.31 MB / 1.724 GB, free: 5.234 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/2.1, allocations: 4 kB / 1.724 GB, free: 5.23 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006635/2.106, allocations: 4.15 MB / 1.728 GB, free: 0.8867 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/2.108, allocations: 0.514 MB / 1.728 GB, free: 360 kB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003326/2.108, allocations: 7.984 kB / 1.728 GB, free: 352 kB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000974/2.109, allocations: 63.89 kB / 1.728 GB, free: 288 kB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004452/2.109, allocations: 157.7 kB / 1.728 GB, free: 132 kB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/2.11, allocations: 44 kB / 1.728 GB, free: 88 kB / 1.135 GB Notification: Performance of sorting global known variables: time 0.00115/2.111, allocations: 0.8023 MB / 1.729 GB, free: 15.29 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/2.111, allocations: 4 kB / 1.729 GB, free: 15.29 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003522/2.114, allocations: 0.9297 MB / 1.73 GB, free: 14.36 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.006783/2.121, allocations: 5.875 MB / 1.736 GB, free: 8.32 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006493/2.128, allocations: 3.988 MB / 1.74 GB, free: 4.293 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/2.128, allocations: 4 kB / 1.74 GB, free: 4.289 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004028/2.132, allocations: 2.512 MB / 1.742 GB, free: 1.742 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/2.135, allocations: 0.6281 MB / 1.743 GB, free: 1.121 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6473/2.783, allocations: 8.086 MB / 1.751 GB, free: 288.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004836/2.787, allocations: 3.662 MB / 1.754 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001799/2.789, allocations: 456.2 kB / 1.755 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/2.791, allocations: 1.789 MB / 1.756 GB, free: 287.4 MB / 1.151 GB Notification: Performance of SimCode: time 8.01e-07/2.791, allocations: 0 / 1.756 GB, free: 287.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/2.913, allocations: 68.28 MB / 1.823 GB, free: 285.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/2.913, allocations: 167.7 kB / 1.823 GB, free: 285 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.428/6.341, allocations: 0 / 1.823 GB, free: 285 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat does not exist to compare? outputFormat=mat