Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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,fileNamePrefix="Buildings_9_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_9_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.00133/0.00133, allocations: 99.86 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.001426/0.001426, 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 1.558/1.558, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.56/2.56, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 12 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.848/0.8484, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0278/0.8763, allocations: 23.26 MB / 0.9763 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.8935, allocations: 7.775 MB / 0.9839 GB, free: 472 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.8969, allocations: 98.19 kB / 0.984 GB, free: 428 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.8991, allocations: 0.5047 MB / 0.9845 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00555/0.9046, allocations: 1.183 MB / 0.9857 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.909, allocations: 1.01 MB / 0.9866 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006712/0.9157, allocations: 2.999 MB / 0.9896 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0153/0.931, allocations: 8.167 MB / 0.9975 GB, free: 3 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004022/0.9351, allocations: 1.639 MB / 0.9991 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003861/0.939, allocations: 1.67 MB / 1.001 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008078/0.9398, allocations: 212 kB / 1.001 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.9422, allocations: 0.4995 MB / 1.001 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002078/0.9443, allocations: 1.524 MB / 1.003 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.9459, allocations: 0.8004 MB / 1.004 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008371/0.9543, allocations: 6.512 MB / 1.01 GB, free: 6.109 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9544, allocations: 0 / 1.01 GB, free: 6.109 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.407e-06/0.9544, allocations: 0 / 1.01 GB, free: 6.109 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.000277/0.9547, allocations: 0 / 1.01 GB, free: 6.109 MB / 0.7637 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.009571/0.9642, allocations: 3.441 MB / 1.013 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.9643, allocations: 8.031 kB / 1.013 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002016/0.9663, allocations: 0.5302 MB / 1.014 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/0.9709, allocations: 0.7758 MB / 1.015 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006707/0.9776, allocations: 2.374 MB / 1.017 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.978, allocations: 275.2 kB / 1.017 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.9795, allocations: 364 kB / 1.018 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/0.9922, allocations: 5.941 MB / 1.023 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.9923, allocations: 23.81 kB / 1.023 GB, free: 8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004274/0.9928, allocations: 160 kB / 1.024 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006223/0.9934, allocations: 278.9 kB / 1.024 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009165/1.003, allocations: 4.5 MB / 1.028 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03457/1.037, allocations: 27.69 MB / 1.055 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/1.039, allocations: 1.124 MB / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.899e-05/1.039, allocations: 12.94 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/1.039, allocations: 47.56 kB / 1.056 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 3.557e-06/1.039, allocations: 0 / 1.056 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=131): time 0.02198/1.061, allocations: 9.645 MB / 1.066 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/1.061, allocations: 68.67 kB / 1.066 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/1.063, allocations: 1.49 MB / 1.067 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/1.064, allocations: 45.7 kB / 1.067 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/1.065, allocations: 1.663 MB / 1.069 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004557/1.065, allocations: 473.2 kB / 1.07 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/1.065, allocations: 36 kB / 1.07 GB, free: 6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.066, allocations: 373.9 kB / 1.07 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/1.067, allocations: 0.9096 MB / 1.071 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/1.069, allocations: 1.455 MB / 1.072 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/1.07, allocations: 1.146 MB / 1.073 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/1.07, allocations: 4 kB / 1.073 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006402/1.077, allocations: 3.27 MB / 1.077 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/1.077, allocations: 12 kB / 1.077 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/1.077, allocations: 19.95 kB / 1.077 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/1.079, allocations: 0.7456 MB / 1.077 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/1.081, allocations: 391.3 kB / 1.078 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/1.097, allocations: 16.03 MB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/1.099, allocations: 103.9 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/1.099, allocations: 76 kB / 1.094 GB, free: 11.97 MB / 0.8575 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.002562/1.102, allocations: 1.311 MB / 1.095 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/1.102, allocations: 205.6 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0051/1.107, allocations: 2.773 MB / 1.098 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/1.107, allocations: 15.95 kB / 1.098 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/1.107, allocations: 12 kB / 1.098 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/1.107, allocations: 7.969 kB / 1.098 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/1.118, allocations: 6.205 MB / 1.104 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.118, allocations: 7.953 kB / 1.104 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.12, allocations: 235.6 kB / 1.104 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002034/1.122, allocations: 0.6716 MB / 1.105 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/1.122, allocations: 28 kB / 1.105 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0157/1.137, allocations: 15.78 MB / 1.12 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/1.138, allocations: 11.94 kB / 1.12 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006565/1.144, allocations: 4.33 MB / 1.124 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.145, allocations: 458.6 kB / 1.125 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/1.145, allocations: 32 kB / 1.125 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008906/1.146, allocations: 83.89 kB / 1.125 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/1.147, allocations: 116.7 kB / 1.125 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/1.147, allocations: 40 kB / 1.125 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001353/1.148, allocations: 0.9825 MB / 1.126 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.11e-07/1.148, allocations: 0 / 1.126 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002243/1.15, allocations: 0.6836 MB / 1.127 GB, free: 8.32 MB / 0.8887 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.006782/1.157, allocations: 6.291 MB / 1.133 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005361/1.163, allocations: 3.495 MB / 1.136 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.163, allocations: 0 / 1.136 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003327/1.166, allocations: 2.288 MB / 1.138 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/1.169, allocations: 0.5949 MB / 1.139 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03872/1.208, allocations: 29.28 MB / 1.168 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003147/1.211, allocations: 2.738 MB / 1.17 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001719/1.213, allocations: 489.4 kB / 1.171 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/1.214, allocations: 1.288 MB / 1.172 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of SimCode: time 8.22e-07/1.214, allocations: 0 / 1.172 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09349/1.308, allocations: 54.62 MB / 1.225 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/1.308, allocations: 217.5 kB / 1.226 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/4.043, allocations: 4.062 kB / 1.226 GB, free: 2.082 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat