Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.279/2.279, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001007/0.001007, allocations: 172.9 kB / 492.3 MB, free: 0.6367 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.483/1.483, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001008/0.001008, allocations: 91.33 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.371e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2626, allocations: 142.3 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9737/1.236, allocations: 182.4 MB / 1.391 GB, free: 15.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/1.237, allocations: 93.81 kB / 1.391 GB, free: 15.87 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4727/1.709, allocations: 193.4 MB / 1.58 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.934e-06/1.709, allocations: 0 / 1.58 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004621/1.71, allocations: 131.9 kB / 1.58 GB, free: 13.25 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01493/1.725, allocations: 4.155 MB / 1.584 GB, free: 9.031 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/1.725, allocations: 12.03 kB / 1.584 GB, free: 9.02 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003126/1.728, allocations: 0.6904 MB / 1.584 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006698/1.735, allocations: 1.012 MB / 1.585 GB, free: 7.301 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007708/1.742, allocations: 3.221 MB / 1.589 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/1.743, allocations: 361.7 kB / 1.589 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/1.744, allocations: 472 kB / 1.589 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/1.762, allocations: 7.414 MB / 1.597 GB, free: 11.32 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001431/1.762, allocations: 23.78 kB / 1.597 GB, free: 11.3 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008016/1.763, allocations: 223.9 kB / 1.597 GB, free: 11.08 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003092/1.763, allocations: 265.2 kB / 1.597 GB, free: 10.82 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/1.776, allocations: 5.31 MB / 1.602 GB, free: 5.492 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04551/1.821, allocations: 36.26 MB / 1.638 GB, free: 14 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/1.826, allocations: 2.106 MB / 1.64 GB, free: 11.88 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/1.828, allocations: 1.462 MB / 1.641 GB, free: 10.42 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 9.892e-05/1.828, allocations: 21.27 kB / 1.641 GB, free: 10.39 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/1.828, allocations: 51.88 kB / 1.641 GB, free: 10.34 MB / 1.057 GB Notification: Performance of pre-optimization done (n=157): time 6.312e-06/1.828, allocations: 0 / 1.641 GB, free: 10.34 MB / 1.057 GB Notification: Performance of matching and sorting (n=160): time 0.009616/1.838, allocations: 4.981 MB / 1.646 GB, free: 5.305 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/1.838, allocations: 68.72 kB / 1.646 GB, free: 5.223 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/1.84, allocations: 1.539 MB / 1.648 GB, free: 3.656 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/1.84, allocations: 53.7 kB / 1.648 GB, free: 3.598 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.842, allocations: 2.1 MB / 1.65 GB, free: 1.473 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005377/1.842, allocations: 0.5507 MB / 1.65 GB, free: 0.9141 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.842, allocations: 44 kB / 1.65 GB, free: 0.8711 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002043/1.843, allocations: 394 kB / 1.651 GB, free: 492 kB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/1.844, allocations: 0.9921 MB / 1.652 GB, free: 15.48 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/1.846, allocations: 1.713 MB / 1.653 GB, free: 13.43 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/1.848, allocations: 1.289 MB / 1.655 GB, free: 12.14 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/1.848, allocations: 8 kB / 1.655 GB, free: 12.14 MB / 1.073 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.006481/1.854, allocations: 3.768 MB / 1.658 GB, free: 8.32 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/1.855, allocations: 16 kB / 1.658 GB, free: 8.305 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/1.855, allocations: 24.91 kB / 1.658 GB, free: 8.281 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002349/1.857, allocations: 0.9117 MB / 1.659 GB, free: 7.332 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/1.858, allocations: 415.3 kB / 1.66 GB, free: 6.926 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/1.878, allocations: 21 MB / 1.68 GB, free: 332 kB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/1.88, allocations: 119.9 kB / 1.68 GB, free: 212 kB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/1.881, allocations: 92 kB / 1.68 GB, free: 120 kB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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%) 6,(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.0004772/1.881, allocations: 252.3 kB / 1.681 GB, free: 15.86 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/1.882, allocations: 253.1 kB / 1.681 GB, free: 15.61 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005603/1.887, allocations: 3.221 MB / 1.684 GB, free: 12.34 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/1.887, allocations: 16 kB / 1.684 GB, free: 12.32 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.887, allocations: 8 kB / 1.684 GB, free: 12.32 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/1.887, allocations: 7.969 kB / 1.684 GB, free: 12.31 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/1.901, allocations: 7.483 MB / 1.691 GB, free: 4.672 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.901, allocations: 4.062 kB / 1.691 GB, free: 4.668 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.902, allocations: 227.6 kB / 1.692 GB, free: 4.445 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002559/1.905, allocations: 0.8726 MB / 1.692 GB, free: 3.535 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.905, allocations: 35.94 kB / 1.692 GB, free: 3.5 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/1.925, allocations: 20.96 MB / 1.713 GB, free: 12.93 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/1.925, allocations: 7.938 kB / 1.713 GB, free: 12.92 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006186/1.931, allocations: 3.667 MB / 1.717 GB, free: 9.012 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.933, allocations: 0.5254 MB / 1.717 GB, free: 8.465 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/1.933, allocations: 32 kB / 1.717 GB, free: 8.434 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.934, allocations: 91.88 kB / 1.717 GB, free: 8.344 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/1.935, allocations: 141 kB / 1.717 GB, free: 8.207 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.935, allocations: 48 kB / 1.717 GB, free: 8.16 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001858/1.937, allocations: 1.157 MB / 1.718 GB, free: 6.984 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.71e-07/1.937, allocations: 0 / 1.718 GB, free: 6.984 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003376/1.94, allocations: 0.9414 MB / 1.719 GB, free: 6.043 MB / 1.135 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 (109): * Single equations (assignments): 97 * 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%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006114/1.946, allocations: 5.397 MB / 1.725 GB, free: 468 kB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.006549/1.953, allocations: 4.278 MB / 1.729 GB, free: 12.02 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.953, allocations: 0 / 1.729 GB, free: 12.02 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004253/1.957, allocations: 2.956 MB / 1.732 GB, free: 8.914 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/1.961, allocations: 0.7257 MB / 1.732 GB, free: 8.191 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/1.977, allocations: 7.187 MB / 1.739 GB, free: 0.8828 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003676/1.98, allocations: 3.286 MB / 1.743 GB, free: 13.57 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002119/1.983, allocations: 0.5172 MB / 1.743 GB, free: 13.04 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002121/1.985, allocations: 1.671 MB / 1.745 GB, free: 11.37 MB / 1.167 GB Notification: Performance of SimCode: time 1.112e-06/1.985, allocations: 0 / 1.745 GB, free: 11.37 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8383/2.823, allocations: 68.19 MB / 1.811 GB, free: 307.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/2.823, allocations: 193.6 kB / 1.812 GB, free: 307.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.73/6.554, allocations: 2.125 kB / 1.812 GB, free: 307.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat