Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007846/0.0007847, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.005445/0.005445, allocations: 171.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 8.344 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3539, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.0306/0.3845, allocations: 26.6 MB / 1.1 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1954/0.5799, allocations: 153.7 MB / 1.25 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004186/0.5842, allocations: 67.69 kB / 1.25 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.586, allocations: 500 kB / 1.251 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005639/0.5917, allocations: 1.539 MB / 1.252 GB, free: 472 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.7401/1.332, allocations: 2.154 MB / 1.254 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01206/1.344, allocations: 7.841 MB / 1.262 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01461/1.358, allocations: 7.862 MB / 1.27 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006377/1.365, allocations: 1.753 MB / 1.271 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008495/1.373, allocations: 2.388 MB / 1.274 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002088/1.376, allocations: 202.1 kB / 1.274 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005105/1.381, allocations: 0.9469 MB / 1.275 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003773/1.385, allocations: 1.401 MB / 1.276 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007231/1.392, allocations: 2.136 MB / 1.278 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01323/1.405, allocations: 8.293 MB / 1.286 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/1.405, allocations: 0 / 1.286 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.727e-06/1.405, allocations: 1.062 kB / 1.286 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003227/1.405, allocations: 3.938 kB / 1.286 GB, free: 11.58 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1192 * Number of variables: 1192 Notification: Performance of Generate backend data structure: time 0.01336/1.419, allocations: 4.04 MB / 1.29 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.419, allocations: 9.406 kB / 1.29 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01522/1.434, allocations: 2.111 MB / 1.292 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007068/1.441, allocations: 2.489 MB / 1.295 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005298/1.442, allocations: 338.7 kB / 1.295 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002468/1.444, allocations: 443.9 kB / 1.296 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02337/1.468, allocations: 6.912 MB / 1.302 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002283/1.468, allocations: 10.94 kB / 1.302 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001662/1.47, allocations: 189.5 kB / 1.303 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003749/1.47, allocations: 237.9 kB / 1.303 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01933/1.489, allocations: 6.852 MB / 1.31 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05136/1.541, allocations: 25.23 MB / 1.334 GB, free: 9.969 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/1.552, allocations: 4.405 MB / 1.338 GB, free: 7.605 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005506/1.558, allocations: 1.998 MB / 1.34 GB, free: 6.566 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/1.559, allocations: 0.5089 MB / 1.341 GB, free: 6.051 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006685/1.566, allocations: 2.304 MB / 1.343 GB, free: 4.637 MB / 1.014 GB Notification: Performance of pre-optimization done (n=263): time 1.107e-05/1.566, allocations: 0 / 1.343 GB, free: 4.637 MB / 1.014 GB Notification: Performance of matching and sorting (n=266): time 0.02309/1.589, allocations: 7.788 MB / 1.351 GB, free: 36 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002163/1.589, allocations: 392.2 kB / 1.351 GB, free: 15.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003609/1.593, allocations: 1.842 MB / 1.353 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000676/1.593, allocations: 83.05 kB / 1.353 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001866/1.595, allocations: 1.779 MB / 1.355 GB, free: 12.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.597, allocations: 0.8755 MB / 1.356 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007574/1.597, allocations: 231.6 kB / 1.356 GB, free: 12.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.569e-05/1.598, allocations: 306.8 kB / 1.356 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004992/1.603, allocations: 1.72 MB / 1.358 GB, free: 10.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005568/1.608, allocations: 2.433 MB / 1.36 GB, free: 9.125 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/1.619, allocations: 4.137 MB / 1.364 GB, free: 6.574 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.022e-05/1.619, allocations: 5.844 kB / 1.364 GB, free: 6.574 MB / 1.029 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01572/1.635, allocations: 4.53 MB / 1.369 GB, free: 3.805 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005229/1.635, allocations: 0.6194 MB / 1.369 GB, free: 2.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.572e-05/1.636, allocations: 20 kB / 1.369 GB, free: 2.918 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.834e-05/1.636, allocations: 32 kB / 1.369 GB, free: 2.887 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005015/1.641, allocations: 0.8788 MB / 1.37 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.439e-05/1.641, allocations: 44.7 kB / 1.37 GB, free: 2.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00488/1.646, allocations: 458.9 kB / 1.371 GB, free: 1.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006212/1.646, allocations: 151.9 kB / 1.371 GB, free: 1.414 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.646, allocations: 0 / 1.371 GB, free: 1.414 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01125/1.658, allocations: 4.069 MB / 1.375 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.021e-05/1.658, allocations: 20 kB / 1.375 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.356e-05/1.658, allocations: 32 kB / 1.375 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004525/1.662, allocations: 0.8395 MB / 1.376 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.143e-05/1.662, allocations: 44.7 kB / 1.376 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/1.667, allocations: 412.9 kB / 1.376 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005725/1.667, allocations: 147.8 kB / 1.376 GB, free: 11.99 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 29 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,pvOriented.HDirTil.incAng.decAng.tNext,$PRE.pvOriented.HDirTil.incAng.decAng.tNext,pvOriented.HDifTil.incAng.decAng.tNext,$PRE.pvOriented.HDifTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDifTil.incAng.decAng.tNext,$PRE.HDifTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (375): * Single equations (assignments): 375 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004124/1.672, allocations: 1.332 MB / 1.377 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.673, allocations: 249 kB / 1.378 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/1.686, allocations: 4.517 MB / 1.382 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/1.686, allocations: 28 kB / 1.382 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/1.686, allocations: 0 / 1.382 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.669e-05/1.686, allocations: 11.95 kB / 1.382 GB, free: 5.832 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/1.708, allocations: 9.3 MB / 1.391 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.708, allocations: 0 / 1.391 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004345/1.712, allocations: 0.7613 MB / 1.392 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.314e-05/1.712, allocations: 20 kB / 1.392 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004276/1.713, allocations: 79.92 kB / 1.392 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.098e-05/1.713, allocations: 12 kB / 1.392 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.713, allocations: 6.906 kB / 1.392 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/1.724, allocations: 4.321 MB / 1.396 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002262/1.726, allocations: 0.8169 MB / 1.397 GB, free: 6.344 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/1.727, allocations: 59.98 kB / 1.397 GB, free: 6.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004053/1.731, allocations: 339.5 kB / 1.398 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005089/1.732, allocations: 184.9 kB / 1.398 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003528/1.732, allocations: 107.9 kB / 1.398 GB, free: 5.668 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003024/1.735, allocations: 1.334 MB / 1.399 GB, free: 4.316 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.8e-07/1.735, allocations: 0 / 1.399 GB, free: 4.316 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.007698/1.743, allocations: 1.465 MB / 1.401 GB, free: 2.852 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDifTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,pvOriented.HDifTil.incAng.decAng.tNext,pvOriented.HDirTil.incAng.decAng.tNext) * Number of discrete states: 9 (weaDat.conTimMin.tNext,pvOriented.HDirTil.incAng.decAng.tNext,pvOriented.HDifTil.incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,HDifTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002228/1.745, allocations: 0.6818 MB / 1.401 GB, free: 2.398 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01726/1.762, allocations: 6.285 MB / 1.407 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/1.763, allocations: 0 / 1.407 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005433/1.768, allocations: 2.03 MB / 1.409 GB, free: 10.26 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006313/1.774, allocations: 0.6229 MB / 1.41 GB, free: 9.641 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/1.797, allocations: 9.842 MB / 1.42 GB, free: 15.74 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003856/1.801, allocations: 2.605 MB / 1.422 GB, free: 13.11 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00785/1.809, allocations: 1.313 MB / 1.423 GB, free: 11.79 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/1.81, allocations: 299.2 kB / 1.424 GB, free: 11.5 MB / 1.092 GB Notification: Performance of SimCode: time 9.32e-07/1.81, allocations: 0 / 1.424 GB, free: 11.5 MB / 1.092 GB Notification: Performance of Templates: time 0.0832/1.894, allocations: 44.54 MB / 1.467 GB, free: 15.43 MB / 1.139 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)