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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001121/0.001121, allocations: 189 kB / 377.1 MB, free: 1.504 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.501/1.501, allocations: 205.4 MB / 0.6367 GB, free: 9.453 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.0007935/0.0007935, allocations: 86.78 kB / 0.751 GB, free: 62.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 8 kB / 0.8748 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3293, allocations: 116.3 MB / 0.9884 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.402/6.732, allocations: 2.121 GB / 3.11 GB, free: 58.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/6.732, allocations: 109.1 kB / 3.11 GB, free: 58.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.178/7.91, allocations: 187.4 MB / 3.293 GB, free: 227 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.037e-06/7.91, allocations: 1.469 kB / 3.293 GB, free: 227 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004802/7.911, allocations: 101.4 kB / 3.293 GB, free: 227 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.01736/7.928, allocations: 3.933 MB / 3.297 GB, free: 224.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/7.928, allocations: 8.781 kB / 3.297 GB, free: 224.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01426/7.942, allocations: 1.812 MB / 3.298 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008611/7.951, allocations: 2.41 MB / 3.301 GB, free: 221.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004313/7.952, allocations: 319 kB / 3.301 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002606/7.954, allocations: 417.1 kB / 3.301 GB, free: 221.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02257/7.977, allocations: 6.456 MB / 3.308 GB, free: 217.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001705/7.977, allocations: 7.719 kB / 3.308 GB, free: 217.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/7.978, allocations: 179.6 kB / 3.308 GB, free: 217.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000259/7.978, allocations: 227.8 kB / 3.308 GB, free: 217.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/7.998, allocations: 6.456 MB / 3.314 GB, free: 214.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05193/8.05, allocations: 26.19 MB / 3.34 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/8.061, allocations: 4.268 MB / 3.344 GB, free: 189.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/8.062, allocations: 0.5208 MB / 3.345 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005991/8.068, allocations: 2.221 MB / 3.347 GB, free: 187.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 9.938e-06/8.068, allocations: 0 / 3.347 GB, free: 187.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.02158/8.09, allocations: 7.712 MB / 3.354 GB, free: 183.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/8.09, allocations: 452.6 kB / 3.355 GB, free: 182.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/8.093, allocations: 1.584 MB / 3.356 GB, free: 181.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009099/8.094, allocations: 80.36 kB / 3.356 GB, free: 181.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001988/8.096, allocations: 1.715 MB / 3.358 GB, free: 180.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001508/8.098, allocations: 0.8583 MB / 3.359 GB, free: 179.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006168/8.099, allocations: 51.88 kB / 3.359 GB, free: 179.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002521/8.099, allocations: 414.3 kB / 3.359 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004266/8.103, allocations: 1.654 MB / 3.361 GB, free: 178.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004904/8.108, allocations: 2.374 MB / 3.363 GB, free: 176.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00468/8.113, allocations: 1.937 MB / 3.365 GB, free: 175 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/8.113, allocations: 4 kB / 3.365 GB, free: 175 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01144/8.124, allocations: 4.367 MB / 3.37 GB, free: 170.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002322/8.127, allocations: 6.825 MB / 3.376 GB, free: 163.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-05/8.127, allocations: 20 kB / 3.376 GB, free: 163.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.97e-05/8.127, allocations: 43.94 kB / 3.376 GB, free: 163.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004603/8.131, allocations: 0.8268 MB / 3.377 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.648e-05/8.131, allocations: 43.86 kB / 3.377 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/8.136, allocations: 398.1 kB / 3.377 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006249/8.136, allocations: 135.9 kB / 3.378 GB, free: 161.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/8.136, allocations: 4 kB / 3.378 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009705/8.146, allocations: 3.825 MB / 3.381 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-05/8.146, allocations: 19.98 kB / 3.381 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-05/8.146, allocations: 35.98 kB / 3.381 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003952/8.15, allocations: 0.7807 MB / 3.382 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.731e-05/8.15, allocations: 39.86 kB / 3.382 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/8.154, allocations: 346.2 kB / 3.383 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004732/8.155, allocations: 135.9 kB / 3.383 GB, free: 156.4 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 () * Number of clocked 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.003641/8.158, allocations: 1.325 MB / 3.384 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/8.159, allocations: 241.1 kB / 3.384 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/8.17, allocations: 4.517 MB / 3.389 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/8.171, allocations: 28 kB / 3.389 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/8.171, allocations: 0 / 3.389 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.28e-05/8.171, allocations: 19.94 kB / 3.389 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02363/8.194, allocations: 9.485 MB / 3.398 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/8.194, allocations: 4 kB / 3.398 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004225/8.199, allocations: 0.7802 MB / 3.399 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.172e-05/8.199, allocations: 15.95 kB / 3.399 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005327/8.199, allocations: 71.94 kB / 3.399 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.187e-05/8.199, allocations: 15.94 kB / 3.399 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/8.199, allocations: 11.92 kB / 3.399 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009937/8.209, allocations: 4.447 MB / 3.403 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/8.212, allocations: 0.8249 MB / 3.404 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/8.213, allocations: 55.92 kB / 3.404 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003757/8.217, allocations: 291.7 kB / 3.404 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004173/8.217, allocations: 169.8 kB / 3.404 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003379/8.218, allocations: 87.94 kB / 3.405 GB, free: 133.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003007/8.221, allocations: 1.301 MB / 3.406 GB, free: 132.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/8.221, allocations: 0 / 3.406 GB, free: 132.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008098/8.229, allocations: 1.402 MB / 3.407 GB, free: 131 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) * Number of clocked states: 0 () * 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.002119/8.231, allocations: 0.6531 MB / 3.408 GB, free: 130.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01436/8.245, allocations: 6.055 MB / 3.414 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/8.245, allocations: 3.938 kB / 3.414 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004686/8.25, allocations: 2.011 MB / 3.416 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005583/8.256, allocations: 0.5761 MB / 3.416 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/8.281, allocations: 9.404 MB / 3.425 GB, free: 112.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004972/8.286, allocations: 2.687 MB / 3.428 GB, free: 109.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008624/8.295, allocations: 1.281 MB / 3.429 GB, free: 108.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/8.297, allocations: 275.2 kB / 3.43 GB, free: 108 MB / 0.948 GB Notification: Performance of SimCode: time 2.485e-06/8.297, allocations: 0 / 3.43 GB, free: 108 MB / 0.948 GB Notification: Performance of Templates: time 0.08245/8.379, allocations: 41.88 MB / 3.47 GB, free: 66.31 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (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 & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)