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/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,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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 99.62 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.002355/0.002355, 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 2.785/2.785, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.027/5.027, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006914/0.0006918, allocations: 12 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665/1.666, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.04465/1.711, allocations: 23.25 MB / 1.004 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0234/1.734, allocations: 7.778 MB / 1.011 GB, free: 7.227 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005838/1.74, allocations: 95.38 kB / 1.011 GB, free: 7.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004251/1.744, allocations: 0.5124 MB / 1.012 GB, free: 6.617 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009156/1.754, allocations: 1.18 MB / 1.013 GB, free: 5.434 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007044/1.761, allocations: 1.012 MB / 1.014 GB, free: 4.426 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01124/1.772, allocations: 2.995 MB / 1.017 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02436/1.796, allocations: 8.162 MB / 1.025 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006216/1.803, allocations: 1.647 MB / 1.026 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00606/1.809, allocations: 1.666 MB / 1.028 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0018/1.811, allocations: 212 kB / 1.028 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/1.815, allocations: 0.5072 MB / 1.029 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00515/1.82, allocations: 1.524 MB / 1.03 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004079/1.825, allocations: 0.8005 MB / 1.031 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01779/1.842, allocations: 6.512 MB / 1.037 GB, free: 12.3 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.842, allocations: 4 kB / 1.037 GB, free: 12.29 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.547e-06/1.843, allocations: 0 / 1.037 GB, free: 12.29 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003964/1.843, allocations: 0 / 1.037 GB, free: 12.29 MB / 0.795 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.01903/1.862, allocations: 3.428 MB / 1.041 GB, free: 8.801 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 8.461e-05/1.862, allocations: 12.03 kB / 1.041 GB, free: 8.789 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004019/1.866, allocations: 0.5341 MB / 1.041 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/1.877, allocations: 0.7718 MB / 1.042 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/1.888, allocations: 2.378 MB / 1.044 GB, free: 5.035 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000539/1.889, allocations: 275.3 kB / 1.045 GB, free: 4.766 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00259/1.892, allocations: 371.9 kB / 1.045 GB, free: 4.402 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02988/1.921, allocations: 5.93 MB / 1.051 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002791/1.922, allocations: 19.88 kB / 1.051 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001827/1.924, allocations: 160 kB / 1.051 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001285/1.925, allocations: 290.8 kB / 1.051 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/1.945, allocations: 4.485 MB / 1.056 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06399/2.009, allocations: 27.69 MB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/2.013, allocations: 1.113 MB / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/2.013, allocations: 13 kB / 1.084 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.585e-05/2.013, allocations: 47.55 kB / 1.084 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 7.214e-06/2.013, allocations: 0 / 1.084 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of matching and sorting (n=131): time 0.04084/2.054, allocations: 9.67 MB / 1.093 GB, free: 0 / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/2.054, allocations: 64.72 kB / 1.093 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003979/2.058, allocations: 1.482 MB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000505/2.059, allocations: 53.64 kB / 1.095 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002667/2.062, allocations: 1.667 MB / 1.096 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001237/2.063, allocations: 469.4 kB / 1.097 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/2.063, allocations: 36 kB / 1.097 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0003728/2.063, allocations: 377.9 kB / 1.097 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/2.066, allocations: 0.9096 MB / 1.098 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003285/2.069, allocations: 1.451 MB / 1.1 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003192/2.073, allocations: 1.142 MB / 1.101 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/2.073, allocations: 4 kB / 1.101 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01101/2.084, allocations: 3.274 MB / 1.104 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.474e-05/2.084, allocations: 16 kB / 1.104 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.355e-05/2.084, allocations: 16 kB / 1.104 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004102/2.088, allocations: 0.7373 MB / 1.105 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/2.091, allocations: 387.4 kB / 1.105 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02745/2.119, allocations: 16.04 MB / 1.121 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/2.122, allocations: 103.9 kB / 1.121 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000469/2.123, allocations: 75.94 kB / 1.121 GB, free: 2.172 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (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.005182/2.128, allocations: 1.315 MB / 1.122 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/2.129, allocations: 201.6 kB / 1.122 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009112/2.138, allocations: 2.777 MB / 1.125 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/2.138, allocations: 16 kB / 1.125 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.947e-05/2.138, allocations: 4 kB / 1.125 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.514e-05/2.138, allocations: 12.34 kB / 1.125 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/2.159, allocations: 6.217 MB / 1.131 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/2.159, allocations: 8 kB / 1.131 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0022/2.161, allocations: 231.6 kB / 1.131 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003652/2.165, allocations: 0.6673 MB / 1.132 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004155/2.165, allocations: 31.98 kB / 1.132 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02636/2.192, allocations: 15.78 MB / 1.147 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/2.192, allocations: 8 kB / 1.147 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/2.204, allocations: 4.33 MB / 1.152 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00238/2.206, allocations: 454.7 kB / 1.152 GB, free: 452 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008848/2.207, allocations: 39.94 kB / 1.152 GB, free: 412 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/2.21, allocations: 83.89 kB / 1.152 GB, free: 328 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007143/2.211, allocations: 112.8 kB / 1.152 GB, free: 216 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/2.211, allocations: 36 kB / 1.152 GB, free: 180 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002619/2.214, allocations: 0.9786 MB / 1.153 GB, free: 15.21 MB / 0.92 GB Notification: Performance of sort global known variables: time 7.11e-07/2.214, allocations: 0 / 1.153 GB, free: 15.21 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.005517/2.219, allocations: 0.6875 MB / 1.154 GB, free: 14.52 MB / 0.92 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 () * Number of clocked 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.01298/2.233, allocations: 6.284 MB / 1.16 GB, free: 8.039 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0097/2.242, allocations: 3.495 MB / 1.164 GB, free: 4.426 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.178e-05/2.242, allocations: 0.875 kB / 1.164 GB, free: 4.426 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.006333/2.249, allocations: 2.287 MB / 1.166 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005931/2.255, allocations: 0.6132 MB / 1.166 GB, free: 1.418 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0697/2.325, allocations: 29.27 MB / 1.195 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006412/2.331, allocations: 2.734 MB / 1.198 GB, free: 188 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003633/2.335, allocations: 485.4 kB / 1.198 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003535/2.338, allocations: 1.288 MB / 1.199 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of SimCode: time 1.813e-06/2.338, allocations: 0 / 1.199 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.362/3.701, allocations: 54.62 MB / 1.253 GB, free: 237.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003754/3.701, allocations: 226.5 kB / 1.253 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.556/10.26, allocations: 2.625 kB / 1.253 GB, free: 237.4 MB / 0.9981 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) Environment - environmentSimulation: 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