Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001272/0.001272, allocations: 177.5 kB / 492.3 MB, free: 0.5977 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.411/1.411, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.000913/0.000913, allocations: 99.81 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.112e-05/4.139e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2299, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8604/1.09, allocations: 183.1 MB / 1.391 GB, free: 15.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/1.091, allocations: 98.92 kB / 1.391 GB, free: 15.24 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5773/1.668, allocations: 213.8 MB / 1.6 GB, free: 7.922 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.154e-06/1.668, allocations: 0 / 1.6 GB, free: 7.922 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0005807/1.669, allocations: 144 kB / 1.6 GB, free: 7.781 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.02466/1.693, allocations: 4.875 MB / 1.605 GB, free: 2.844 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/1.693, allocations: 19.97 kB / 1.605 GB, free: 2.824 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004441/1.698, allocations: 0.8214 MB / 1.606 GB, free: 1.992 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/1.71, allocations: 1.144 MB / 1.607 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01539/1.726, allocations: 3.677 MB / 1.611 GB, free: 13.11 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007588/1.726, allocations: 427.6 kB / 1.611 GB, free: 12.69 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003524/1.73, allocations: 0.5507 MB / 1.612 GB, free: 12.14 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03788/1.768, allocations: 8.719 MB / 1.62 GB, free: 2.977 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004083/1.768, allocations: 23.86 kB / 1.62 GB, free: 2.953 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003131/1.772, allocations: 259.9 kB / 1.62 GB, free: 2.699 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000519/1.772, allocations: 295 kB / 1.621 GB, free: 2.41 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02359/1.796, allocations: 6.329 MB / 1.627 GB, free: 12.07 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07784/1.874, allocations: 41.46 MB / 1.667 GB, free: 14.87 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00795/1.882, allocations: 3.084 MB / 1.67 GB, free: 11.79 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005317/1.887, allocations: 2.118 MB / 1.672 GB, free: 9.664 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/1.887, allocations: 22 kB / 1.672 GB, free: 9.641 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.006e-05/1.887, allocations: 68.56 kB / 1.672 GB, free: 9.566 MB / 1.089 GB Notification: Performance of pre-optimization done (n=209): time 6.101e-06/1.887, allocations: 0 / 1.672 GB, free: 9.566 MB / 1.089 GB Notification: Performance of matching and sorting (n=212): time 0.0199/1.907, allocations: 6.584 MB / 1.679 GB, free: 2.953 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/1.907, allocations: 77.41 kB / 1.679 GB, free: 2.863 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004491/1.912, allocations: 1.645 MB / 1.681 GB, free: 1.199 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0006431/1.913, allocations: 65.7 kB / 1.681 GB, free: 1.125 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.002696/1.915, allocations: 2.369 MB / 1.683 GB, free: 14.72 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/1.917, allocations: 0.7279 MB / 1.684 GB, free: 13.98 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/1.917, allocations: 56 kB / 1.684 GB, free: 13.93 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0003308/1.917, allocations: 415.1 kB / 1.684 GB, free: 13.52 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003277/1.921, allocations: 1.294 MB / 1.685 GB, free: 12.22 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00405/1.925, allocations: 2.074 MB / 1.687 GB, free: 9.797 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003815/1.929, allocations: 1.673 MB / 1.689 GB, free: 8.125 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-05/1.929, allocations: 8 kB / 1.689 GB, free: 8.117 MB / 1.104 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01331/1.942, allocations: 4.922 MB / 1.694 GB, free: 3.172 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/1.942, allocations: 20.12 kB / 1.694 GB, free: 3.152 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.528e-05/1.942, allocations: 28 kB / 1.694 GB, free: 3.125 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005451/1.948, allocations: 1.529 MB / 1.695 GB, free: 1.59 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002875/1.95, allocations: 447.2 kB / 1.696 GB, free: 1.152 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03534/1.986, allocations: 16.94 MB / 1.712 GB, free: 15.68 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004825/1.991, allocations: 147.9 kB / 1.712 GB, free: 15.53 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007327/1.992, allocations: 112 kB / 1.713 GB, free: 15.42 MB / 1.135 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,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.001096/1.993, allocations: 260.2 kB / 1.713 GB, free: 15.16 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/1.994, allocations: 296.6 kB / 1.713 GB, free: 14.87 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/2.008, allocations: 4.404 MB / 1.717 GB, free: 10.43 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-05/2.008, allocations: 20 kB / 1.717 GB, free: 10.41 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.771e-05/2.008, allocations: 20 kB / 1.717 GB, free: 10.39 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.046e-05/2.008, allocations: 15.89 kB / 1.717 GB, free: 10.38 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03032/2.038, allocations: 9.598 MB / 1.727 GB, free: 0.6367 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.618e-05/2.039, allocations: 4.562 kB / 1.727 GB, free: 0.6328 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/2.04, allocations: 239.6 kB / 1.727 GB, free: 408 kB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003643/2.044, allocations: 1.386 MB / 1.728 GB, free: 15 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003688/2.044, allocations: 40.25 kB / 1.728 GB, free: 14.96 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.69/2.734, allocations: 16.97 MB / 1.745 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/2.734, allocations: 8.125 kB / 1.745 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007816/2.742, allocations: 4.836 MB / 1.75 GB, free: 280.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/2.743, allocations: 0.6318 MB / 1.75 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/2.744, allocations: 41.77 kB / 1.75 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/2.745, allocations: 116.8 kB / 1.751 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005506/2.746, allocations: 187.6 kB / 1.751 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/2.746, allocations: 58.64 kB / 1.751 GB, free: 280.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001866/2.748, allocations: 1.241 MB / 1.752 GB, free: 280.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.41e-07/2.748, allocations: 0 / 1.752 GB, free: 280.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00339/2.751, allocations: 1.17 MB / 1.753 GB, free: 280.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.007605/2.759, allocations: 6.551 MB / 1.759 GB, free: 278.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006863/2.766, allocations: 4.541 MB / 1.764 GB, free: 277.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/2.766, allocations: 3.062 kB / 1.764 GB, free: 277.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004592/2.77, allocations: 2.863 MB / 1.767 GB, free: 277.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004661/2.775, allocations: 0.7588 MB / 1.767 GB, free: 277.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/2.797, allocations: 8.88 MB / 1.776 GB, free: 275.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005221/2.802, allocations: 3.79 MB / 1.78 GB, free: 274.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002326/2.804, allocations: 0.5447 MB / 1.78 GB, free: 274.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001905/2.806, allocations: 1.942 MB / 1.782 GB, free: 274.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.71e-07/2.806, allocations: 0 / 1.782 GB, free: 274.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1228/2.929, allocations: 81.74 MB / 1.862 GB, free: 272 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/2.929, allocations: 202.3 kB / 1.862 GB, free: 271.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.277/7.206, allocations: 0 / 1.862 GB, free: 271.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat does not exist to compare? outputFormat=mat