Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.46/2.46, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001245/0.001244, allocations: 172.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.001004/0.001004, allocations: 91.95 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.521e-05/3.53e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.338, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.493, allocations: 207.3 MB / 1.421 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/1.493, allocations: 93 kB / 1.421 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3657/1.859, allocations: 155.6 MB / 1.573 GB, free: 5.84 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.013e-06/1.859, allocations: 0 / 1.573 GB, free: 5.84 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0002349/1.859, allocations: 95.98 kB / 1.573 GB, free: 5.746 MB / 1.026 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.01146/1.87, allocations: 3.216 MB / 1.577 GB, free: 2.469 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/1.871, allocations: 12.03 kB / 1.577 GB, free: 2.457 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001853/1.872, allocations: 0.534 MB / 1.577 GB, free: 1.914 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005864/1.878, allocations: 0.8342 MB / 1.578 GB, free: 1.074 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006919/1.885, allocations: 2.545 MB / 1.58 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/1.885, allocations: 279.2 kB / 1.581 GB, free: 14.2 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/1.887, allocations: 375.9 kB / 1.581 GB, free: 13.83 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/1.898, allocations: 5.647 MB / 1.587 GB, free: 7.848 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/1.898, allocations: 19.78 kB / 1.587 GB, free: 7.828 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004554/1.899, allocations: 164 kB / 1.587 GB, free: 7.668 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/1.899, allocations: 215 kB / 1.587 GB, free: 7.457 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007945/1.907, allocations: 4.049 MB / 1.591 GB, free: 3.402 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03877/1.946, allocations: 27.68 MB / 1.618 GB, free: 5.219 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/1.948, allocations: 1.082 MB / 1.619 GB, free: 4.129 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/1.949, allocations: 0.9838 MB / 1.62 GB, free: 3.141 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.215e-05/1.949, allocations: 13 kB / 1.62 GB, free: 3.129 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/1.949, allocations: 47.5 kB / 1.62 GB, free: 3.074 MB / 1.073 GB Notification: Performance of pre-optimization done (n=110): time 4.509e-06/1.949, allocations: 0 / 1.62 GB, free: 3.074 MB / 1.073 GB Notification: Performance of matching and sorting (n=131): time 0.0195/1.969, allocations: 7.983 MB / 1.628 GB, free: 10.99 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/1.969, allocations: 72.66 kB / 1.628 GB, free: 10.9 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/1.971, allocations: 1.259 MB / 1.629 GB, free: 9.648 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/1.971, allocations: 45.7 kB / 1.629 GB, free: 9.598 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/1.972, allocations: 1.667 MB / 1.631 GB, free: 7.906 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005052/1.973, allocations: 469.3 kB / 1.631 GB, free: 7.441 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/1.973, allocations: 36 kB / 1.631 GB, free: 7.406 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001864/1.973, allocations: 377.9 kB / 1.632 GB, free: 7.031 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/1.974, allocations: 0.8591 MB / 1.632 GB, free: 6.172 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/1.976, allocations: 1.452 MB / 1.634 GB, free: 4.457 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/1.978, allocations: 1.106 MB / 1.635 GB, free: 3.348 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/1.978, allocations: 11.95 kB / 1.635 GB, free: 3.336 MB / 1.089 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006184/1.984, allocations: 3.18 MB / 1.638 GB, free: 120 kB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/1.984, allocations: 12 kB / 1.638 GB, free: 108 kB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/1.984, allocations: 20 kB / 1.638 GB, free: 88 kB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/1.986, allocations: 0.7143 MB / 1.639 GB, free: 15.34 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.988, allocations: 399.3 kB / 1.639 GB, free: 14.95 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/2.004, allocations: 15.56 MB / 1.654 GB, free: 14.19 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/2.006, allocations: 107.9 kB / 1.654 GB, free: 14.08 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/2.006, allocations: 72 kB / 1.655 GB, free: 14.01 MB / 1.12 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.0004103/2.006, allocations: 222 kB / 1.655 GB, free: 13.79 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/2.007, allocations: 201.6 kB / 1.655 GB, free: 13.59 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005049/2.012, allocations: 2.722 MB / 1.658 GB, free: 10.83 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/2.012, allocations: 12 kB / 1.658 GB, free: 10.82 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/2.012, allocations: 8.188 kB / 1.658 GB, free: 10.81 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/2.012, allocations: 3.984 kB / 1.658 GB, free: 10.81 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/2.023, allocations: 6.065 MB / 1.664 GB, free: 4.574 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/2.023, allocations: 7.938 kB / 1.664 GB, free: 4.566 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/2.024, allocations: 243.7 kB / 1.664 GB, free: 4.328 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/2.026, allocations: 0.6398 MB / 1.664 GB, free: 3.66 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/2.026, allocations: 32 kB / 1.664 GB, free: 3.629 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01445/2.04, allocations: 15.29 MB / 1.679 GB, free: 3.133 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/2.041, allocations: 7.938 kB / 1.679 GB, free: 3.125 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006899/2.047, allocations: 4.237 MB / 1.683 GB, free: 14.66 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/2.049, allocations: 450.6 kB / 1.684 GB, free: 14.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/2.049, allocations: 31.98 kB / 1.684 GB, free: 14.17 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008979/2.05, allocations: 79.91 kB / 1.684 GB, free: 14.09 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/2.05, allocations: 120.7 kB / 1.684 GB, free: 13.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.685e-05/2.05, allocations: 36 kB / 1.684 GB, free: 13.94 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001475/2.052, allocations: 0.9554 MB / 1.685 GB, free: 13 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/2.052, allocations: 0 / 1.685 GB, free: 13 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002705/2.055, allocations: 0.6953 MB / 1.686 GB, free: 12.3 MB / 1.151 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.006985/2.062, allocations: 6.187 MB / 1.692 GB, free: 5.91 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005357/2.067, allocations: 3.381 MB / 1.695 GB, free: 2.414 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/2.067, allocations: 0 / 1.695 GB, free: 2.414 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003296/2.07, allocations: 2.233 MB / 1.697 GB, free: 72 kB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.8/2.87, allocations: 0.5683 MB / 1.698 GB, free: 315.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/2.888, allocations: 6.2 MB / 1.704 GB, free: 314.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004295/2.893, allocations: 2.74 MB / 1.707 GB, free: 313.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002627/2.895, allocations: 482.6 kB / 1.707 GB, free: 313.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/2.897, allocations: 1.278 MB / 1.708 GB, free: 313.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.563e-06/2.897, allocations: 1.25 kB / 1.708 GB, free: 313.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1438/3.041, allocations: 54.06 MB / 1.761 GB, free: 312.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/3.041, allocations: 210.3 kB / 1.761 GB, free: 311.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.634/6.675, allocations: 2.625 kB / 1.761 GB, free: 311.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat