Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.301/2.301, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001454/0.001454, allocations: 185.1 kB / 498.1 MB, free: 5.684 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.57/1.57, allocations: 223.1 MB / 0.7948 GB, free: 18.88 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.001086/0.001086, allocations: 96.08 kB / 0.9346 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003698, allocations: 9.375 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2994, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8753/1.175, allocations: 196.7 MB / 1.415 GB, free: 180 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005397/1.175, allocations: 97.59 kB / 1.415 GB, free: 180 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7437/1.919, allocations: 326.3 MB / 1.734 GB, free: 14.34 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.906e-06/1.919, allocations: 0 / 1.734 GB, free: 14.34 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0007244/1.92, allocations: 151.8 kB / 1.734 GB, free: 14.19 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.0224/1.942, allocations: 5.177 MB / 1.739 GB, free: 8.941 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.942, allocations: 11.97 kB / 1.739 GB, free: 8.93 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004105/1.947, allocations: 0.7517 MB / 1.74 GB, free: 8.168 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/1.958, allocations: 1.495 MB / 1.741 GB, free: 6.664 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/1.972, allocations: 4.234 MB / 1.745 GB, free: 2.352 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006967/1.973, allocations: 386.1 kB / 1.746 GB, free: 1.973 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004066/1.977, allocations: 0.4962 MB / 1.746 GB, free: 1.477 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02729/2.004, allocations: 8.376 MB / 1.754 GB, free: 8.641 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003447/2.005, allocations: 27.72 kB / 1.754 GB, free: 8.613 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002483/2.007, allocations: 231.9 kB / 1.755 GB, free: 8.387 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005492/2.008, allocations: 322 kB / 1.755 GB, free: 8.07 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/2.025, allocations: 6.449 MB / 1.761 GB, free: 1.609 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06132/2.086, allocations: 40.01 MB / 1.8 GB, free: 6.359 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004725/2.091, allocations: 2.808 MB / 1.803 GB, free: 3.543 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/2.091, allocations: 30.09 kB / 1.803 GB, free: 3.512 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.782e-05/2.091, allocations: 60.66 kB / 1.803 GB, free: 3.441 MB / 1.104 GB Notification: Performance of pre-optimization done (n=265): time 5.079e-06/2.091, allocations: 0 / 1.803 GB, free: 3.441 MB / 1.104 GB Notification: Performance of matching and sorting (n=424): time 0.9513/3.043, allocations: 64.9 MB / 1.867 GB, free: 218 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/3.043, allocations: 98.7 kB / 1.867 GB, free: 217.9 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005421/3.048, allocations: 1.927 MB / 1.868 GB, free: 217.7 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/3.049, allocations: 93.89 kB / 1.869 GB, free: 217.6 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.002382/3.052, allocations: 2.341 MB / 1.871 GB, free: 216.9 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.002292/3.054, allocations: 1.439 MB / 1.872 GB, free: 216.1 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009181/3.055, allocations: 83.03 kB / 1.872 GB, free: 216.1 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.000365/3.055, allocations: 490.8 kB / 1.873 GB, free: 215.8 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004729/3.06, allocations: 2.77 MB / 1.876 GB, free: 215.8 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005079/3.065, allocations: 3.747 MB / 1.879 GB, free: 214.7 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005448/3.071, allocations: 3.365 MB / 1.882 GB, free: 214.6 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-05/3.071, allocations: 7.562 kB / 1.882 GB, free: 214.6 MB / 1.12 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.03026/3.101, allocations: 11.79 MB / 1.894 GB, free: 213.9 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-05/3.101, allocations: 15.16 kB / 1.894 GB, free: 213.9 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.038e-05/3.101, allocations: 27.25 kB / 1.894 GB, free: 213.9 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01861/3.12, allocations: 5.012 MB / 1.899 GB, free: 213.6 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/3.122, allocations: 0.508 MB / 1.899 GB, free: 213.6 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07159/3.194, allocations: 66.89 MB / 1.965 GB, free: 178 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004678/3.199, allocations: 186.4 kB / 1.965 GB, free: 178 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/3.2, allocations: 159.7 kB / 1.965 GB, free: 177.9 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005843/3.206, allocations: 2.005 MB / 1.967 GB, free: 177.1 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/3.207, allocations: 389 kB / 1.967 GB, free: 176.9 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02625/3.234, allocations: 11.56 MB / 1.979 GB, free: 172.3 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.474e-05/3.234, allocations: 39.72 kB / 1.979 GB, free: 172.3 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001388/3.234, allocations: 48.94 kB / 1.979 GB, free: 172.3 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.446e-05/3.234, allocations: 26.27 kB / 1.979 GB, free: 172.3 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04234/3.276, allocations: 17.89 MB / 1.996 GB, free: 165.3 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.976e-05/3.276, allocations: 7.906 kB / 1.996 GB, free: 165.3 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/3.278, allocations: 293 kB / 1.997 GB, free: 165.3 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01583/3.294, allocations: 4.517 MB / 2.001 GB, free: 164.1 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008434/3.295, allocations: 74.47 kB / 2.001 GB, free: 164 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06673/3.362, allocations: 64.41 MB / 2.064 GB, free: 114.4 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/3.362, allocations: 17.23 kB / 2.064 GB, free: 114.4 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03145/3.393, allocations: 15.28 MB / 2.079 GB, free: 101.1 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003971/3.397, allocations: 0.969 MB / 2.08 GB, free: 100.3 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/3.398, allocations: 87 kB / 2.08 GB, free: 100.2 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003412/3.402, allocations: 181.6 kB / 2.08 GB, free: 100.1 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002051/3.404, allocations: 399.6 kB / 2.08 GB, free: 99.81 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004309/3.404, allocations: 107.7 kB / 2.081 GB, free: 99.71 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.00305/3.407, allocations: 1.467 MB / 2.082 GB, free: 98.49 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.924e-06/3.407, allocations: 0 / 2.082 GB, free: 98.49 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.01086/3.418, allocations: 1.772 MB / 2.084 GB, free: 96.73 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03252/3.451, allocations: 17.72 MB / 2.101 GB, free: 81.19 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.02063/3.471, allocations: 11.63 MB / 2.112 GB, free: 70.58 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/3.472, allocations: 0 / 2.112 GB, free: 70.58 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.01437/3.486, allocations: 8.099 MB / 2.12 GB, free: 63.06 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005657/3.492, allocations: 0.9677 MB / 2.121 GB, free: 62.32 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08676/3.578, allocations: 59.95 MB / 2.18 GB, free: 5.016 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007906/3.586, allocations: 4.184 MB / 2.184 GB, free: 1.84 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.003163/3.59, allocations: 0.6709 MB / 2.185 GB, free: 1.379 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005248/3.595, allocations: 2.268 MB / 2.187 GB, free: 15.86 MB / 1.135 GB Notification: Performance of SimCode: time 1.363e-06/3.595, allocations: 0 / 2.187 GB, free: 15.86 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9047/4.5, allocations: 136.4 MB / 2.32 GB, free: 245.1 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/4.5, allocations: 233.6 kB / 2.32 GB, free: 244.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.624/10.12, allocations: 0 / 2.32 GB, free: 244.8 MB / 1.182 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat does not exist to compare? outputFormat=mat