Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.603/1.603, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001167, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 90.48 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.055e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2307, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.585/6.815, allocations: 2.238 GB / 3.13 GB, free: 91.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/6.816, allocations: 107.4 kB / 3.13 GB, free: 91.36 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9557/7.772, allocations: 185.5 MB / 3.311 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.296e-06/7.772, allocations: 0 / 3.311 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003394/7.772, allocations: 99.06 kB / 3.311 GB, free: 243.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01202/7.784, allocations: 3.653 MB / 3.315 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/7.784, allocations: 10.41 kB / 3.315 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002396/7.786, allocations: 0.5948 MB / 3.316 GB, free: 241 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/7.799, allocations: 1.807 MB / 3.317 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006685/7.806, allocations: 2.394 MB / 3.32 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/7.807, allocations: 324.2 kB / 3.32 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/7.809, allocations: 424.2 kB / 3.32 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/7.826, allocations: 6.005 MB / 3.326 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/7.826, allocations: 14.95 kB / 3.326 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009555/7.827, allocations: 186.3 kB / 3.327 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002028/7.827, allocations: 212.6 kB / 3.327 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/7.839, allocations: 5.63 MB / 3.332 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04452/7.884, allocations: 26.19 MB / 3.358 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006945/7.891, allocations: 3.758 MB / 3.361 GB, free: 200 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002947/7.894, allocations: 1.828 MB / 3.363 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008536/7.895, allocations: 0.5135 MB / 3.364 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003803/7.899, allocations: 1.983 MB / 3.366 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=254): time 8.015e-06/7.899, allocations: 4 kB / 3.366 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=257): time 0.01221/7.911, allocations: 5.594 MB / 3.371 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/7.911, allocations: 449.2 kB / 3.372 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/7.913, allocations: 1.566 MB / 3.373 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000616/7.914, allocations: 73.7 kB / 3.373 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/7.915, allocations: 1.704 MB / 3.375 GB, free: 186 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009307/7.916, allocations: 0.8613 MB / 3.376 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/7.917, allocations: 60 kB / 3.376 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001942/7.917, allocations: 411.5 kB / 3.376 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/7.919, allocations: 1.407 MB / 3.378 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/7.921, allocations: 2.117 MB / 3.38 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/7.924, allocations: 1.707 MB / 3.381 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/7.924, allocations: 8 kB / 3.381 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.006194/7.93, allocations: 3.86 MB / 3.385 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001271/7.931, allocations: 6.84 MB / 3.392 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/7.931, allocations: 20 kB / 3.392 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.072e-05/7.931, allocations: 32 kB / 3.392 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/7.935, allocations: 0.8268 MB / 3.393 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.902e-05/7.935, allocations: 47.86 kB / 3.393 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003577/7.939, allocations: 394.2 kB / 3.393 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003894/7.939, allocations: 135.9 kB / 3.393 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/7.939, allocations: 4 kB / 3.393 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005629/7.945, allocations: 3.33 MB / 3.396 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-05/7.945, allocations: 20.19 kB / 3.396 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.935e-05/7.945, allocations: 36 kB / 3.396 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003672/7.949, allocations: 0.7761 MB / 3.397 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.863e-05/7.949, allocations: 43.86 kB / 3.397 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0033/7.952, allocations: 354.1 kB / 3.398 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000389/7.953, allocations: 131.9 kB / 3.398 GB, free: 161.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 346 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001004/7.954, allocations: 282.3 kB / 3.398 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008826/7.955, allocations: 241.1 kB / 3.398 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008202/7.963, allocations: 4.037 MB / 3.402 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/7.963, allocations: 31.98 kB / 3.402 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/7.963, allocations: 4 kB / 3.402 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.904e-05/7.963, allocations: 11.95 kB / 3.402 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/7.979, allocations: 8.991 MB / 3.411 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/7.979, allocations: 7.938 kB / 3.411 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00403/7.983, allocations: 0.7881 MB / 3.412 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.794e-05/7.983, allocations: 12 kB / 3.412 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003479/7.983, allocations: 75.94 kB / 3.412 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.043e-05/7.983, allocations: 19.92 kB / 3.412 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/7.983, allocations: 4 kB / 3.412 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006046/7.99, allocations: 3.959 MB / 3.416 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/7.992, allocations: 0.821 MB / 3.417 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000821/7.992, allocations: 48 kB / 3.417 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00313/7.996, allocations: 295.6 kB / 3.417 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/7.996, allocations: 157.8 kB / 3.417 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002693/7.996, allocations: 99.92 kB / 3.417 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002356/7.999, allocations: 1.279 MB / 3.418 GB, free: 140 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.999, allocations: 0 / 3.418 GB, free: 140 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006328/8.005, allocations: 1.408 MB / 3.42 GB, free: 138.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006906/8.012, allocations: 5.618 MB / 3.425 GB, free: 133 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007657/8.019, allocations: 5.371 MB / 3.43 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/8.02, allocations: 4.188 kB / 3.43 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002378/8.022, allocations: 1.769 MB / 3.432 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/8.025, allocations: 0.5689 MB / 3.433 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/8.042, allocations: 7.135 MB / 3.44 GB, free: 118 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003665/8.045, allocations: 2.698 MB / 3.442 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01327/8.059, allocations: 1.421 MB / 3.444 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004922/8.064, allocations: 1.569 MB / 3.445 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.463e-06/8.064, allocations: 0 / 3.445 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.15/8.214, allocations: 71.15 MB / 3.515 GB, free: 41.38 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/8.214, allocations: 219.7 kB / 3.515 GB, free: 41.16 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.21/12.42, allocations: 10.36 kB / 3.515 GB, free: 41.15 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)