Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.249/2.249, 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.001501/0.001501, allocations: 180.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.578/1.578, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.000985/0.000985, allocations: 99.84 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.158e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2671, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9314/1.199, allocations: 205.9 MB / 1.407 GB, free: 2.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/1.199, allocations: 100 kB / 1.407 GB, free: 2.176 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3649/1.564, allocations: 154.9 MB / 1.558 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.164e-06/1.564, allocations: 0 / 1.558 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002575/1.564, allocations: 99.92 kB / 1.559 GB, free: 4.938 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01053/1.575, allocations: 3.208 MB / 1.562 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/1.575, allocations: 16.03 kB / 1.562 GB, free: 1.652 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006268/1.581, allocations: 0.8225 MB / 1.563 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006376/1.587, allocations: 2.549 MB / 1.565 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/1.588, allocations: 116 kB / 1.565 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/1.589, allocations: 243.9 kB / 1.565 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007806/1.597, allocations: 3.588 MB / 1.569 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009892/1.606, allocations: 5.103 MB / 1.574 GB, free: 4.84 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/1.607, allocations: 15.84 kB / 1.574 GB, free: 4.824 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003579/1.607, allocations: 12 kB / 1.574 GB, free: 4.812 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002466/1.607, allocations: 218.9 kB / 1.574 GB, free: 4.598 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02942/1.637, allocations: 26.89 MB / 1.6 GB, free: 7.227 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/1.638, allocations: 1.055 MB / 1.601 GB, free: 6.16 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/1.639, allocations: 0.9535 MB / 1.602 GB, free: 5.207 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.922e-05/1.639, allocations: 13.31 kB / 1.602 GB, free: 5.195 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/1.639, allocations: 43.88 kB / 1.602 GB, free: 5.145 MB / 1.01 GB Notification: Performance of pre-optimization done (n=110): time 3.437e-06/1.639, allocations: 0 / 1.602 GB, free: 5.145 MB / 1.01 GB Notification: Performance of matching and sorting (n=131): time 0.01251/1.652, allocations: 6.776 MB / 1.609 GB, free: 14.27 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.652, allocations: 64.72 kB / 1.609 GB, free: 14.19 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/1.654, allocations: 1.069 MB / 1.61 GB, free: 13.12 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 8.768e-05/1.654, allocations: 25.7 kB / 1.61 GB, free: 13.09 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/1.655, allocations: 1.677 MB / 1.612 GB, free: 11.39 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/1.655, allocations: 453.3 kB / 1.612 GB, free: 10.94 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/1.655, allocations: 0 / 1.612 GB, free: 10.94 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.655, allocations: 377.9 kB / 1.613 GB, free: 10.57 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/1.656, allocations: 0.82 MB / 1.613 GB, free: 9.746 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/1.658, allocations: 1.401 MB / 1.615 GB, free: 8.074 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/1.659, allocations: 1.068 MB / 1.616 GB, free: 7.008 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/1.659, allocations: 8 kB / 1.616 GB, free: 7 MB / 1.026 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005117/1.664, allocations: 2.974 MB / 1.619 GB, free: 3.988 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/1.664, allocations: 12 kB / 1.619 GB, free: 3.977 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/1.665, allocations: 20 kB / 1.619 GB, free: 3.957 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002094/1.667, allocations: 0.7026 MB / 1.619 GB, free: 3.227 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/1.668, allocations: 407.2 kB / 1.62 GB, free: 2.828 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/1.682, allocations: 14.94 MB / 1.634 GB, free: 2.848 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/1.684, allocations: 71.84 kB / 1.634 GB, free: 2.777 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/1.684, allocations: 75.98 kB / 1.634 GB, free: 2.703 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003447/1.685, allocations: 160.4 kB / 1.635 GB, free: 2.539 MB / 1.042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004285/1.689, allocations: 2.446 MB / 1.637 GB, free: 56 kB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/1.689, allocations: 185.9 kB / 1.637 GB, free: 15.87 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004594/1.694, allocations: 2.589 MB / 1.64 GB, free: 13.24 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/1.694, allocations: 19.95 kB / 1.64 GB, free: 13.22 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.694, allocations: 4 kB / 1.64 GB, free: 13.21 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/1.694, allocations: 12.11 kB / 1.64 GB, free: 13.2 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009329/1.703, allocations: 5.361 MB / 1.645 GB, free: 7.695 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.703, allocations: 11.88 kB / 1.645 GB, free: 7.684 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.705, allocations: 243.7 kB / 1.645 GB, free: 7.445 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/1.706, allocations: 0.6362 MB / 1.646 GB, free: 6.781 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.031e-05/1.707, allocations: 11.98 kB / 1.646 GB, free: 6.77 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/1.72, allocations: 14.68 MB / 1.66 GB, free: 7.047 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/1.72, allocations: 11.94 kB / 1.66 GB, free: 7.035 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006337/1.726, allocations: 4.083 MB / 1.664 GB, free: 2.711 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.727, allocations: 438.7 kB / 1.665 GB, free: 2.262 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.728, allocations: 8 kB / 1.665 GB, free: 2.254 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008465/1.729, allocations: 63.89 kB / 1.665 GB, free: 2.191 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/1.729, allocations: 121 kB / 1.665 GB, free: 2.074 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.131e-05/1.729, allocations: 39.98 kB / 1.665 GB, free: 2.035 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.001102/1.73, allocations: 0.7918 MB / 1.666 GB, free: 1.25 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.61e-07/1.73, allocations: 0 / 1.666 GB, free: 1.25 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.002532/1.733, allocations: 0.6406 MB / 1.666 GB, free: 0.6094 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006393/1.739, allocations: 6.04 MB / 1.672 GB, free: 10.37 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.00464/1.744, allocations: 3.22 MB / 1.675 GB, free: 7.062 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.744, allocations: 4 kB / 1.675 GB, free: 7.059 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.00286/1.747, allocations: 2.13 MB / 1.677 GB, free: 4.84 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/1.749, allocations: 0.5313 MB / 1.678 GB, free: 4.312 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.76, allocations: 6.085 MB / 1.684 GB, free: 14.1 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/1.762, allocations: 2.73 MB / 1.687 GB, free: 11.34 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.001522/1.764, allocations: 464.5 kB / 1.687 GB, free: 10.88 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/1.765, allocations: 1.269 MB / 1.688 GB, free: 9.613 MB / 1.104 GB Notification: Performance of SimCode: time 7.02e-07/1.765, allocations: 0 / 1.688 GB, free: 9.613 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08966/1.855, allocations: 50.71 MB / 1.738 GB, free: 7.352 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/1.855, allocations: 167.6 kB / 1.738 GB, free: 7.156 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.323/5.178, allocations: 3.938 kB / 1.738 GB, free: 7.152 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat