Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 289.9 MB / 297.4 MB, free: 6.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001548/0.001549, allocations: 184.8 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009634/0.0009634, allocations: 87.91 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.532e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7026, allocations: 116.3 MB / 0.9734 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.133/6.835, allocations: 2.12 GB / 3.094 GB, free: 278.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/6.836, allocations: 102.7 kB / 3.094 GB, free: 278.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4402/7.276, allocations: 184.7 MB / 3.274 GB, free: 149.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.933e-06/7.276, allocations: 0 / 3.274 GB, free: 149.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003924/7.276, allocations: 103.9 kB / 3.274 GB, free: 149.6 MB / 0.948 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.01268/7.289, allocations: 3.64 MB / 3.278 GB, free: 145.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/7.289, allocations: 8.031 kB / 3.278 GB, free: 145.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/7.302, allocations: 1.809 MB / 3.28 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008178/7.31, allocations: 2.403 MB / 3.282 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/7.311, allocations: 136 kB / 3.282 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002468/7.313, allocations: 244 kB / 3.282 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01447/7.328, allocations: 5.171 MB / 3.287 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01929/7.347, allocations: 5.406 MB / 3.293 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002725/7.347, allocations: 7.938 kB / 3.293 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002227/7.35, allocations: 8 kB / 3.293 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002989/7.35, allocations: 219.4 kB / 3.293 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05144/7.401, allocations: 25.18 MB / 3.318 GB, free: 103.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00671/7.408, allocations: 3.621 MB / 3.321 GB, free: 99.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00295/7.411, allocations: 1.75 MB / 3.323 GB, free: 98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009964/7.412, allocations: 0.5112 MB / 3.323 GB, free: 97.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003751/7.416, allocations: 1.909 MB / 3.325 GB, free: 95.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 7.594e-06/7.416, allocations: 0 / 3.325 GB, free: 95.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.01968/7.436, allocations: 6.406 MB / 3.331 GB, free: 89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/7.436, allocations: 449.2 kB / 3.332 GB, free: 88.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/7.439, allocations: 1.386 MB / 3.333 GB, free: 87.07 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008833/7.44, allocations: 29.7 kB / 3.333 GB, free: 87.04 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001889/7.442, allocations: 1.719 MB / 3.335 GB, free: 85.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001422/7.443, allocations: 0.8159 MB / 3.336 GB, free: 84.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006908/7.444, allocations: 0 / 3.336 GB, free: 84.47 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002719/7.444, allocations: 415.8 kB / 3.336 GB, free: 84.06 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002701/7.447, allocations: 1.36 MB / 3.337 GB, free: 82.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/7.45, allocations: 2.049 MB / 3.339 GB, free: 80.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008122/7.458, allocations: 2.611 MB / 3.342 GB, free: 77.72 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.662e-05/7.458, allocations: 4 kB / 3.342 GB, free: 77.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01436/7.473, allocations: 4.594 MB / 3.346 GB, free: 73.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001724/7.474, allocations: 6.781 MB / 3.353 GB, free: 65.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/7.474, allocations: 16 kB / 3.353 GB, free: 65.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-05/7.475, allocations: 36 kB / 3.353 GB, free: 65.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004757/7.479, allocations: 0.8307 MB / 3.354 GB, free: 65.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.79e-05/7.479, allocations: 39.86 kB / 3.354 GB, free: 64.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004227/7.484, allocations: 346.1 kB / 3.354 GB, free: 64.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009015/7.485, allocations: 139.9 kB / 3.354 GB, free: 64.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/7.485, allocations: 4 kB / 3.354 GB, free: 64.51 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01284/7.497, allocations: 4.004 MB / 3.358 GB, free: 60.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.434e-05/7.498, allocations: 16 kB / 3.358 GB, free: 60.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.671e-05/7.498, allocations: 36.88 kB / 3.358 GB, free: 60.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00436/7.502, allocations: 0.7761 MB / 3.359 GB, free: 59.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.128e-05/7.502, allocations: 43.86 kB / 3.359 GB, free: 59.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/7.506, allocations: 290.2 kB / 3.359 GB, free: 59.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000766/7.507, allocations: 139.9 kB / 3.36 GB, free: 59.17 MB / 0.948 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.001487/7.508, allocations: 188.1 kB / 3.36 GB, free: 58.98 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01215/7.52, allocations: 4.16 MB / 3.364 GB, free: 54.81 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/7.522, allocations: 229.5 kB / 3.364 GB, free: 54.58 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/7.536, allocations: 4.793 MB / 3.369 GB, free: 49.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/7.536, allocations: 32 kB / 3.369 GB, free: 49.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-05/7.536, allocations: 3.938 kB / 3.369 GB, free: 49.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-05/7.536, allocations: 19.89 kB / 3.369 GB, free: 49.67 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/7.559, allocations: 8.963 MB / 3.378 GB, free: 40.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/7.559, allocations: 0 / 3.378 GB, free: 40.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004704/7.564, allocations: 0.7881 MB / 3.378 GB, free: 39.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-05/7.564, allocations: 12 kB / 3.378 GB, free: 39.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007121/7.565, allocations: 43.94 kB / 3.378 GB, free: 39.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.67e-05/7.565, allocations: 15.94 kB / 3.378 GB, free: 39.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/7.565, allocations: 4 kB / 3.378 GB, free: 39.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/7.577, allocations: 4.772 MB / 3.383 GB, free: 34.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/7.58, allocations: 0.8133 MB / 3.384 GB, free: 33.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/7.581, allocations: 4 kB / 3.384 GB, free: 33.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003639/7.584, allocations: 243.7 kB / 3.384 GB, free: 33.67 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/7.585, allocations: 165.8 kB / 3.384 GB, free: 33.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004798/7.585, allocations: 95.94 kB / 3.384 GB, free: 33.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002541/7.588, allocations: 1.111 MB / 3.385 GB, free: 32.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.61e-07/7.588, allocations: 0 / 3.385 GB, free: 32.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007631/7.596, allocations: 1.246 MB / 3.387 GB, free: 31.04 MB / 0.948 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.01564/7.611, allocations: 6.356 MB / 3.393 GB, free: 24.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01066/7.622, allocations: 5.139 MB / 3.398 GB, free: 19.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/7.622, allocations: 8.188 kB / 3.398 GB, free: 19.42 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/7.625, allocations: 1.71 MB / 3.4 GB, free: 17.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004304/7.629, allocations: 0.5223 MB / 3.4 GB, free: 17.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02192/7.651, allocations: 6.903 MB / 3.407 GB, free: 10.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004138/7.656, allocations: 2.686 MB / 3.409 GB, free: 7.484 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009117/7.665, allocations: 1.409 MB / 3.411 GB, free: 6.07 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003817/7.669, allocations: 1.569 MB / 3.412 GB, free: 4.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.263e-06/7.669, allocations: 0 / 3.412 GB, free: 4.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7972/8.466, allocations: 67.85 MB / 3.479 GB, free: 242 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/8.466, allocations: 195.4 kB / 3.479 GB, free: 241.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.126/12.59, allocations: 0 / 3.479 GB, free: 241.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)