Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001079/0.001079, allocations: 184.8 kB / 366.7 MB, free: 1.648 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.413/1.413, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0007773/0.0007773, allocations: 97.33 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.344e-05/1.337e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6187/0.6188, allocations: 116.3 MB / 0.9733 GB, free: 76.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.273/5.892, allocations: 2.121 GB / 3.094 GB, free: 344.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/5.892, allocations: 102.6 kB / 3.094 GB, free: 344.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.369/6.261, allocations: 162.3 MB / 3.253 GB, free: 215.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.637e-06/6.261, allocations: 0 / 3.253 GB, free: 215.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002362/6.262, allocations: 91.98 kB / 3.253 GB, free: 215 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: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.008222/6.27, allocations: 3.429 MB / 3.256 GB, free: 211.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/6.27, allocations: 12.03 kB / 3.256 GB, free: 211.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/6.281, allocations: 1.719 MB / 3.258 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00529/6.286, allocations: 2.211 MB / 3.26 GB, free: 207.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/6.287, allocations: 128 kB / 3.26 GB, free: 207.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/6.288, allocations: 228 kB / 3.26 GB, free: 207.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009548/6.297, allocations: 4.857 MB / 3.265 GB, free: 202.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/6.308, allocations: 4.981 MB / 3.27 GB, free: 197.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-05/6.308, allocations: 7.938 kB / 3.27 GB, free: 197.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004449/6.308, allocations: 4 kB / 3.27 GB, free: 197.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/6.308, allocations: 194.9 kB / 3.27 GB, free: 196.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03329/6.342, allocations: 21.95 MB / 3.292 GB, free: 173.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005807/6.348, allocations: 3.344 MB / 3.295 GB, free: 170.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00234/6.35, allocations: 1.524 MB / 3.296 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008222/6.351, allocations: 0.5112 MB / 3.297 GB, free: 168.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003059/6.354, allocations: 1.721 MB / 3.299 GB, free: 166.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 8.626e-06/6.354, allocations: 4 kB / 3.299 GB, free: 166.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.01712/6.371, allocations: 5.875 MB / 3.304 GB, free: 160.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/6.371, allocations: 437.2 kB / 3.305 GB, free: 159.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/6.374, allocations: 1.342 MB / 3.306 GB, free: 158.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006992/6.375, allocations: 29.7 kB / 3.306 GB, free: 158.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/6.377, allocations: 1.605 MB / 3.308 GB, free: 156.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001242/6.378, allocations: 0.7736 MB / 3.308 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000556/6.378, allocations: 0 / 3.308 GB, free: 156.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002354/6.379, allocations: 415.4 kB / 3.309 GB, free: 155.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/6.381, allocations: 1.243 MB / 3.31 GB, free: 154.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002685/6.384, allocations: 1.945 MB / 3.312 GB, free: 152.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007623/6.391, allocations: 2.489 MB / 3.314 GB, free: 149.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.224e-05/6.391, allocations: 4 kB / 3.314 GB, free: 149.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01331/6.405, allocations: 4.349 MB / 3.319 GB, free: 145.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002258/6.407, allocations: 7.096 MB / 3.326 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.919e-05/6.407, allocations: 16 kB / 3.326 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.463e-05/6.407, allocations: 36 kB / 3.326 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004858/6.412, allocations: 0.7995 MB / 3.326 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.627e-05/6.412, allocations: 43.86 kB / 3.326 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/6.416, allocations: 330.1 kB / 3.327 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008338/6.417, allocations: 131.9 kB / 3.327 GB, free: 136.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/6.417, allocations: 7.938 kB / 3.327 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01105/6.428, allocations: 3.874 MB / 3.331 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.557e-05/6.428, allocations: 16 kB / 3.331 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.794e-05/6.428, allocations: 36.09 kB / 3.331 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/6.432, allocations: 0.7605 MB / 3.331 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-05/6.432, allocations: 47.84 kB / 3.331 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/6.435, allocations: 278.3 kB / 3.332 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005018/6.436, allocations: 135.9 kB / 3.332 GB, free: 131.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (336): * Single equations (assignments): 336 * 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.001092/6.437, allocations: 178.7 kB / 3.332 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009435/6.438, allocations: 233.2 kB / 3.332 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/6.45, allocations: 4.396 MB / 3.337 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/6.45, allocations: 28 kB / 3.337 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/6.45, allocations: 0 / 3.337 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.81e-05/6.45, allocations: 19.94 kB / 3.337 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01892/6.469, allocations: 8.211 MB / 3.345 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/6.469, allocations: 0 / 3.345 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003829/6.473, allocations: 0.7179 MB / 3.345 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.708e-05/6.473, allocations: 12 kB / 3.345 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004155/6.473, allocations: 43.94 kB / 3.345 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-05/6.473, allocations: 12 kB / 3.345 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/6.473, allocations: 0 / 3.345 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/6.484, allocations: 4.411 MB / 3.35 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/6.485, allocations: 0.7511 MB / 3.35 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008101/6.486, allocations: 4 kB / 3.35 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003003/6.489, allocations: 227.7 kB / 3.351 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/6.49, allocations: 153.8 kB / 3.351 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002609/6.49, allocations: 95.88 kB / 3.351 GB, free: 111.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001999/6.492, allocations: 1.065 MB / 3.352 GB, free: 110.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.5e-07/6.492, allocations: 0 / 3.352 GB, free: 110.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005717/6.498, allocations: 1.168 MB / 3.353 GB, free: 109.3 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 (262): * Single equations (assignments): 260 * 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.001718/6.499, allocations: 0.5648 MB / 3.354 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007186/6.506, allocations: 4.761 MB / 3.358 GB, free: 104.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/6.507, allocations: 4 kB / 3.358 GB, free: 104.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002106/6.509, allocations: 1.528 MB / 3.36 GB, free: 102.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/6.512, allocations: 458.3 kB / 3.36 GB, free: 102.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/6.524, allocations: 5.495 MB / 3.366 GB, free: 96.53 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0032/6.528, allocations: 2.531 MB / 3.368 GB, free: 93.97 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007432/6.535, allocations: 1.38 MB / 3.369 GB, free: 92.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/6.537, allocations: 239.3 kB / 3.37 GB, free: 92.35 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/6.537, allocations: 0 / 3.37 GB, free: 92.35 MB / 0.948 GB Notification: Performance of Templates: time 0.05924/6.596, allocations: 38.52 MB / 3.407 GB, free: 53.94 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)