Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.001546/0.001547, allocations: 97.97 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.002053/0.002054, 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 2.82/2.82, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.323/5.323, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006429/0.0006431, allocations: 8 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665/1.666, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.02125/1.687, allocations: 10.38 MB / 0.991 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01387/1.701, allocations: 4.935 MB / 0.9958 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/1.704, allocations: 31.81 kB / 0.9959 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002418/1.706, allocations: 326.2 kB / 0.9962 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004396/1.711, allocations: 0.5296 MB / 0.9967 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003733/1.714, allocations: 0.5613 MB / 0.9972 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003782/1.718, allocations: 1.145 MB / 0.9984 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009107/1.727, allocations: 3.61 MB / 1.002 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/1.73, allocations: 0.6074 MB / 1.002 GB, free: 36 kB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/1.732, allocations: 0.6736 MB / 1.003 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000428/1.733, allocations: 96 kB / 1.003 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/1.734, allocations: 303.6 kB / 1.004 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/1.736, allocations: 0.6626 MB / 1.004 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0008482/1.736, allocations: 348.9 kB / 1.005 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005625/1.742, allocations: 3.01 MB / 1.007 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.742, allocations: 4 kB / 1.007 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.749e-06/1.742, allocations: 3.938 kB / 1.007 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001196/1.742, allocations: 0 / 1.007 GB, free: 10.93 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.007656/1.75, allocations: 1.64 MB / 1.009 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 7.928e-05/1.75, allocations: 12.02 kB / 1.009 GB, free: 9.227 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001574/1.752, allocations: 248.2 kB / 1.009 GB, free: 8.973 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/1.756, allocations: 0.4898 MB / 1.01 GB, free: 8.48 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005442/1.762, allocations: 1.139 MB / 1.011 GB, free: 7.301 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/1.762, allocations: 115.1 kB / 1.011 GB, free: 7.188 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/1.763, allocations: 152 kB / 1.011 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01328/1.776, allocations: 2.723 MB / 1.014 GB, free: 4.25 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/1.777, allocations: 0 / 1.014 GB, free: 4.25 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009424/1.778, allocations: 67.98 kB / 1.014 GB, free: 4.184 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007107/1.778, allocations: 170.9 kB / 1.014 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009861/1.788, allocations: 2.288 MB / 1.016 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02971/1.818, allocations: 10.55 MB / 1.027 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/1.82, allocations: 0.57 MB / 1.027 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002557/1.82, allocations: 93.09 kB / 1.027 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.05e-05/1.821, allocations: 42.5 kB / 1.027 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=36): time 8.757e-06/1.821, allocations: 0 / 1.027 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=52): time 0.03285/1.853, allocations: 6.295 MB / 1.033 GB, free: 15.19 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/1.854, allocations: 89.48 kB / 1.033 GB, free: 15.08 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/1.856, allocations: 0.8945 MB / 1.034 GB, free: 14.18 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002009/1.856, allocations: 37.7 kB / 1.034 GB, free: 14.14 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/1.857, allocations: 0.7499 MB / 1.035 GB, free: 13.38 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/1.858, allocations: 185.4 kB / 1.035 GB, free: 13.19 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/1.858, allocations: 20 kB / 1.035 GB, free: 13.17 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002878/1.858, allocations: 394.7 kB / 1.036 GB, free: 12.78 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/1.86, allocations: 0.6382 MB / 1.036 GB, free: 12.14 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/1.862, allocations: 1.011 MB / 1.037 GB, free: 10.96 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/1.865, allocations: 0.814 MB / 1.038 GB, free: 10.15 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.283e-05/1.865, allocations: 8 kB / 1.038 GB, free: 10.14 MB / 0.795 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01456/1.879, allocations: 3.217 MB / 1.041 GB, free: 6.898 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.005143/1.884, allocations: 4.535 MB / 1.046 GB, free: 2.012 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-05/1.885, allocations: 8 kB / 1.046 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/1.897, allocations: 1.852 MB / 1.048 GB, free: 140 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/1.899, allocations: 231.6 kB / 1.048 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/1.923, allocations: 10.53 MB / 1.058 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/1.926, allocations: 179.6 kB / 1.058 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/1.926, allocations: 43.98 kB / 1.058 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.926, allocations: 4 kB / 1.058 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01127/1.937, allocations: 2.622 MB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.879e-05/1.937, allocations: 16.03 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008004/1.945, allocations: 1.203 MB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/1.947, allocations: 251.6 kB / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/1.96, allocations: 5.692 MB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/1.962, allocations: 155.7 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/1.962, allocations: 51.92 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002709/1.965, allocations: 0.8328 MB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004054/1.965, allocations: 79.53 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/1.978, allocations: 2.695 MB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/1.978, allocations: 7.938 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/1.978, allocations: 3.953 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/1.978, allocations: 7.984 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.997, allocations: 4.531 MB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/1.997, allocations: 256 / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008195/1.998, allocations: 99.86 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/2.008, allocations: 1.712 MB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/2.008, allocations: 12 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02329/2.032, allocations: 10.05 MB / 1.088 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-05/2.032, allocations: 7.938 kB / 1.088 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/2.045, allocations: 2.747 MB / 1.09 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/2.046, allocations: 284.1 kB / 1.09 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002647/2.047, allocations: 12 kB / 1.091 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/2.048, allocations: 135.8 kB / 1.091 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004493/2.048, allocations: 55.8 kB / 1.091 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/2.049, allocations: 16 kB / 1.091 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001791/2.05, allocations: 0.6395 MB / 1.091 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/2.05, allocations: 0 / 1.091 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004269/2.055, allocations: 0.6015 MB / 1.092 GB, free: 1.035 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0129/2.068, allocations: 3.9 MB / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.009037/2.077, allocations: 3.249 MB / 1.099 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/2.077, allocations: 0 / 1.099 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003154/2.08, allocations: 1.277 MB / 1.1 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/2.082, allocations: 209.6 kB / 1.1 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04019/2.122, allocations: 17.5 MB / 1.117 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002412/2.125, allocations: 1.649 MB / 1.119 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002257/2.127, allocations: 494.6 kB / 1.12 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/2.128, allocations: 487.3 kB / 1.12 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of SimCode: time 1.382e-06/2.128, allocations: 0 / 1.12 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2043/2.332, allocations: 34.54 MB / 1.154 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007298/2.333, allocations: 251.1 kB / 1.154 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.1/7.433, allocations: 6.031 kB / 1.154 GB, free: 1.266 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat does not exist to compare? outputFormat=mat