Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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.001582/0.001582, allocations: 100.3 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.002193/0.002193, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.006/3.006, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.155/5.155, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001005, allocations: 8 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581/1.582, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.03955/1.621, allocations: 17.64 MB / 0.9981 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02073/1.642, allocations: 6.201 MB / 1.004 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004386/1.647, allocations: 67.56 kB / 1.004 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003149/1.65, allocations: 405.5 kB / 1.005 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007329/1.657, allocations: 0.8723 MB / 1.005 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006382/1.664, allocations: 0.7748 MB / 1.006 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008404/1.672, allocations: 2.322 MB / 1.008 GB, free: 9.945 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02108/1.693, allocations: 6.387 MB / 1.015 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005397/1.699, allocations: 1.32 MB / 1.016 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00537/1.704, allocations: 1.37 MB / 1.017 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001481/1.706, allocations: 176 kB / 1.018 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/1.709, allocations: 407.6 kB / 1.018 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.004517/1.714, allocations: 1.24 MB / 1.019 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003214/1.717, allocations: 0.6447 MB / 1.02 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01236/1.73, allocations: 5.294 MB / 1.025 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/1.73, allocations: 0 / 1.025 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.156e-06/1.73, allocations: 0 / 1.025 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003705/1.73, allocations: 0 / 1.025 GB, free: 9.035 MB / 0.7794 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.01621/1.746, allocations: 2.832 MB / 1.028 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 8.884e-05/1.747, allocations: 8.031 kB / 1.028 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003969/1.751, allocations: 462.4 kB / 1.028 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008089/1.759, allocations: 0.6207 MB / 1.029 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009691/1.768, allocations: 1.896 MB / 1.031 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005449/1.769, allocations: 222 kB / 1.031 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002368/1.772, allocations: 295.9 kB / 1.031 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02507/1.797, allocations: 4.835 MB / 1.036 GB, free: 13.54 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003743/1.797, allocations: 19.86 kB / 1.036 GB, free: 13.52 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002407/1.8, allocations: 124 kB / 1.036 GB, free: 13.4 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001082/1.801, allocations: 225.7 kB / 1.036 GB, free: 13.18 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/1.818, allocations: 3.731 MB / 1.04 GB, free: 9.438 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05071/1.869, allocations: 21.61 MB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/1.872, allocations: 1.298 MB / 1.062 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/1.873, allocations: 20.98 kB / 1.062 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/1.873, allocations: 47.5 kB / 1.062 GB, free: 456 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=107): time 5.34e-06/1.873, allocations: 3.938 kB / 1.062 GB, free: 452 kB / 0.8106 GB Notification: Performance of matching and sorting (n=138): time 0.04738/1.92, allocations: 8.649 MB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/1.92, allocations: 68.72 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004324/1.925, allocations: 1.122 MB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004973/1.925, allocations: 49.7 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002117/1.927, allocations: 1.304 MB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00138/1.929, allocations: 473.2 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003888/1.929, allocations: 32 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0004087/1.93, allocations: 377.9 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003125/1.933, allocations: 0.9057 MB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009077/1.942, allocations: 1.318 MB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/1.946, allocations: 1.127 MB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-05/1.946, allocations: 4 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.0128/1.959, allocations: 3.454 MB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.36e-05/1.959, allocations: 12 kB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.952e-05/1.959, allocations: 12 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006171/1.965, allocations: 1.186 MB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/1.967, allocations: 255.6 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03053/1.998, allocations: 13.19 MB / 1.095 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/2.001, allocations: 87.97 kB / 1.095 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002924/2.001, allocations: 60 kB / 1.095 GB, free: 14.08 MB / 0.8575 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.003898/2.005, allocations: 1.122 MB / 1.096 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008062/2.006, allocations: 158.1 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009587/2.015, allocations: 3.157 MB / 1.099 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.863e-05/2.016, allocations: 23.95 kB / 1.099 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/2.016, allocations: 12 kB / 1.099 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.674e-05/2.016, allocations: 7.969 kB / 1.099 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/2.036, allocations: 6.229 MB / 1.106 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.199e-05/2.036, allocations: 4 kB / 1.106 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/2.037, allocations: 152.3 kB / 1.106 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006014/2.043, allocations: 1.076 MB / 1.107 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003856/2.044, allocations: 24.38 kB / 1.107 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03002/2.074, allocations: 12.91 MB / 1.119 GB, free: 4.637 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.6e-05/2.074, allocations: 8 kB / 1.119 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/2.084, allocations: 3.393 MB / 1.123 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/2.086, allocations: 431 kB / 1.123 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004185/2.087, allocations: 28 kB / 1.123 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/2.088, allocations: 83.89 kB / 1.123 GB, free: 468 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000565/2.089, allocations: 124.7 kB / 1.123 GB, free: 344 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/2.089, allocations: 40.38 kB / 1.123 GB, free: 304 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001861/2.091, allocations: 0.7514 MB / 1.124 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.253e-06/2.091, allocations: 3.938 kB / 1.124 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004617/2.095, allocations: 0.6679 MB / 1.125 GB, free: 14.87 MB / 0.8887 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.0112/2.107, allocations: 5.168 MB / 1.13 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00955/2.116, allocations: 3.123 MB / 1.133 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.196e-05/2.116, allocations: 3.938 kB / 1.133 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.005985/2.122, allocations: 1.96 MB / 1.135 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004297/2.127, allocations: 437.8 kB / 1.135 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05884/2.186, allocations: 23.19 MB / 1.158 GB, free: 12.13 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0056/2.191, allocations: 2.391 MB / 1.16 GB, free: 9.715 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00229/2.194, allocations: 358.1 kB / 1.161 GB, free: 9.359 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002709/2.196, allocations: 1.003 MB / 1.162 GB, free: 8.355 MB / 0.92 GB Notification: Performance of SimCode: time 2.315e-06/2.197, allocations: 0 / 1.162 GB, free: 8.355 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3114/2.508, allocations: 49.32 MB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004632/2.509, allocations: 240.2 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.055/8.564, allocations: 1.047 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat does not exist to compare? outputFormat=mat