Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 100.9 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001446, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.3 MB / 0.6653 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 8 kB / 0.8146 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7842/0.7845, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01967/0.8043, allocations: 17.65 MB / 0.9708 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.8153, allocations: 6.203 MB / 0.9769 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/0.8178, allocations: 73.31 kB / 0.977 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.8192, allocations: 402.7 kB / 0.9773 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.823, allocations: 0.8658 MB / 0.9782 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002945/0.8259, allocations: 0.7766 MB / 0.9789 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005545/0.8315, allocations: 2.318 MB / 0.9812 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/0.8425, allocations: 6.378 MB / 0.9874 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.8457, allocations: 1.312 MB / 0.9887 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002883/0.8486, allocations: 1.37 MB / 0.9901 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003902/0.8491, allocations: 180 kB / 0.9902 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.8504, allocations: 411.6 kB / 0.9906 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.8515, allocations: 1.239 MB / 0.9918 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008753/0.8524, allocations: 0.6408 MB / 0.9925 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005035/0.8575, allocations: 5.295 MB / 0.9976 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8575, allocations: 0 / 0.9976 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.366e-06/0.8575, allocations: 0 / 0.9976 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001976/0.8577, allocations: 0 / 0.9976 GB, free: 2.863 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006393/0.8641, allocations: 2.839 MB / 1 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.8642, allocations: 12.03 kB / 1 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000965/0.8651, allocations: 450.3 kB / 1.001 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/0.8683, allocations: 0.6245 MB / 1.001 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00406/0.8724, allocations: 1.885 MB / 1.003 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.8726, allocations: 229.9 kB / 1.004 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005808/0.8732, allocations: 295.9 kB / 1.004 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007396/0.8806, allocations: 4.839 MB / 1.009 GB, free: 7.371 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.93e-05/0.8807, allocations: 15.88 kB / 1.009 GB, free: 7.355 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/0.881, allocations: 128 kB / 1.009 GB, free: 7.23 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000416/0.8814, allocations: 233.7 kB / 1.009 GB, free: 7 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006042/0.8874, allocations: 3.723 MB / 1.013 GB, free: 3.266 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02404/0.9115, allocations: 21.62 MB / 1.034 GB, free: 11.65 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.9133, allocations: 1.296 MB / 1.035 GB, free: 10.34 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.203e-05/0.9133, allocations: 13 kB / 1.035 GB, free: 10.32 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.9134, allocations: 47.5 kB / 1.035 GB, free: 10.27 MB / 0.795 GB Notification: Performance of pre-optimization done (n=107): time 3.267e-06/0.9134, allocations: 0 / 1.035 GB, free: 10.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=138): time 0.02332/0.9367, allocations: 8.653 MB / 1.043 GB, free: 1.559 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.9368, allocations: 72.72 kB / 1.043 GB, free: 1.477 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.9384, allocations: 1.119 MB / 1.045 GB, free: 360 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.9385, allocations: 45.7 kB / 1.045 GB, free: 308 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008671/0.9394, allocations: 1.307 MB / 1.046 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004238/0.9398, allocations: 473.2 kB / 1.046 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.9399, allocations: 32 kB / 1.046 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.9401, allocations: 373.9 kB / 1.047 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.9413, allocations: 0.9057 MB / 1.048 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.9428, allocations: 1.315 MB / 1.049 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.9442, allocations: 1.131 MB / 1.05 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.9443, allocations: 7.953 kB / 1.05 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005757/0.95, allocations: 3.449 MB / 1.053 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.9501, allocations: 9.25 kB / 1.053 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.9501, allocations: 12 kB / 1.053 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003007/0.9531, allocations: 1.187 MB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009168/0.954, allocations: 259.5 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/0.9697, allocations: 13.2 MB / 1.068 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.9711, allocations: 83.98 kB / 1.068 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.9713, allocations: 63.98 kB / 1.068 GB, free: 7.906 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001939/0.9733, allocations: 1.116 MB / 1.069 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.9736, allocations: 166.1 kB / 1.069 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00534/0.9789, allocations: 3.157 MB / 1.072 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.979, allocations: 12 kB / 1.072 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.67e-05/0.979, allocations: 12 kB / 1.072 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.9791, allocations: 11.95 kB / 1.072 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.9898, allocations: 6.237 MB / 1.078 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.9899, allocations: 8.094 kB / 1.078 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/0.9905, allocations: 147.8 kB / 1.078 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002844/0.9934, allocations: 1.075 MB / 1.079 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/0.9936, allocations: 28 kB / 1.08 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01586/1.009, allocations: 12.92 MB / 1.092 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.01, allocations: 4 kB / 1.092 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005502/1.015, allocations: 3.381 MB / 1.095 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009901/1.016, allocations: 427.1 kB / 1.096 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/1.016, allocations: 35.95 kB / 1.096 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007642/1.017, allocations: 79.89 kB / 1.096 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/1.017, allocations: 124.7 kB / 1.096 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-05/1.017, allocations: 40 kB / 1.096 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009493/1.018, allocations: 0.7554 MB / 1.097 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/1.018, allocations: 0 / 1.097 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001865/1.02, allocations: 0.6602 MB / 1.097 GB, free: 8.703 MB / 0.8575 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005342/1.026, allocations: 5.176 MB / 1.103 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004499/1.03, allocations: 3.134 MB / 1.106 GB, free: 200 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.03, allocations: 0 / 1.106 GB, free: 200 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002835/1.033, allocations: 1.952 MB / 1.108 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.035, allocations: 450.8 kB / 1.108 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/1.065, allocations: 23.2 MB / 1.131 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/1.068, allocations: 2.391 MB / 1.133 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001237/1.069, allocations: 346.1 kB / 1.133 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.071, allocations: 1.003 MB / 1.134 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of SimCode: time 1.232e-06/1.071, allocations: 8 kB / 1.134 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07955/1.15, allocations: 49.31 MB / 1.182 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/1.15, allocations: 230.1 kB / 1.183 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/3.775, allocations: 3.938 kB / 1.183 GB, free: 1.27 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat does not exist to compare? outputFormat=mat