Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.304/2.304, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 187.8 kB / 326.3 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.389/2.389, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.000979/0.0009787, allocations: 89.67 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005081/0.0005083, allocations: 13.62 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2239, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.444/7.668, allocations: 2.239 GB / 3.138 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004128/7.669, allocations: 111.1 kB / 3.138 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.647/8.316, allocations: 164.6 MB / 3.299 GB, free: 130 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.026e-06/8.316, allocations: 0 / 3.299 GB, free: 130 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003639/8.316, allocations: 91.98 kB / 3.299 GB, free: 129.9 MB / 0.8855 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.01587/8.332, allocations: 3.692 MB / 3.303 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/8.332, allocations: 12.02 kB / 3.303 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02001/8.352, allocations: 1.732 MB / 3.304 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007467/8.36, allocations: 2.212 MB / 3.307 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004035/8.36, allocations: 300.3 kB / 3.307 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/8.362, allocations: 396.3 kB / 3.307 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02468/8.387, allocations: 6.015 MB / 3.313 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/8.387, allocations: 7.938 kB / 3.313 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001918/8.389, allocations: 164 kB / 3.313 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002897/8.389, allocations: 190.9 kB / 3.313 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0259/8.415, allocations: 6.093 MB / 3.319 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05147/8.467, allocations: 22.87 MB / 3.342 GB, free: 84.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01653/8.483, allocations: 3.947 MB / 3.346 GB, free: 80.57 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007317/8.491, allocations: 1.836 MB / 3.347 GB, free: 78.72 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/8.492, allocations: 0.5151 MB / 3.348 GB, free: 78.11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008309/8.5, allocations: 2.037 MB / 3.35 GB, free: 76.04 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=240): time 8.506e-06/8.501, allocations: 4 kB / 3.35 GB, free: 76.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=243): time 0.02875/8.529, allocations: 7.001 MB / 3.357 GB, free: 69 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/8.529, allocations: 449.2 kB / 3.357 GB, free: 68.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003655/8.533, allocations: 1.717 MB / 3.359 GB, free: 66.74 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0008706/8.534, allocations: 69.7 kB / 3.359 GB, free: 66.66 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001876/8.536, allocations: 1.602 MB / 3.36 GB, free: 65.04 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/8.537, allocations: 0.8047 MB / 3.361 GB, free: 64.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004632/8.538, allocations: 56 kB / 3.361 GB, free: 64.17 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002214/8.538, allocations: 407.3 kB / 3.362 GB, free: 63.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006997/8.545, allocations: 1.543 MB / 3.363 GB, free: 62.22 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007871/8.553, allocations: 2.274 MB / 3.365 GB, free: 59.65 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007966/8.561, allocations: 1.829 MB / 3.367 GB, free: 57.82 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/8.561, allocations: 4 kB / 3.367 GB, free: 57.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01859/8.58, allocations: 4.111 MB / 3.371 GB, free: 53.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003425/8.58, allocations: 0.6121 MB / 3.372 GB, free: 52.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/8.58, allocations: 27.88 kB / 3.372 GB, free: 52.81 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.353e-05/8.58, allocations: 28 kB / 3.372 GB, free: 52.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008015/8.588, allocations: 0.7995 MB / 3.373 GB, free: 51.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.619e-05/8.588, allocations: 43.86 kB / 3.373 GB, free: 51.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006052/8.595, allocations: 378.1 kB / 3.373 GB, free: 51.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008702/8.595, allocations: 135.9 kB / 3.373 GB, free: 51.44 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/8.595, allocations: 4 kB / 3.373 GB, free: 51.43 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01614/8.612, allocations: 3.678 MB / 3.377 GB, free: 47.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-05/8.612, allocations: 20.97 kB / 3.377 GB, free: 47.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-05/8.612, allocations: 28 kB / 3.377 GB, free: 47.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007695/8.619, allocations: 0.7644 MB / 3.378 GB, free: 46.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.581e-05/8.62, allocations: 43.86 kB / 3.378 GB, free: 46.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005771/8.625, allocations: 334.2 kB / 3.378 GB, free: 46.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008951/8.626, allocations: 135.9 kB / 3.378 GB, free: 46.44 MB / 0.8855 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 () * Number of clocked 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.003926/8.63, allocations: 1.242 MB / 3.379 GB, free: 45.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009017/8.631, allocations: 225.3 kB / 3.379 GB, free: 44.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01842/8.65, allocations: 4.128 MB / 3.383 GB, free: 40.81 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/8.65, allocations: 24 kB / 3.384 GB, free: 40.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/8.65, allocations: 0 / 3.384 GB, free: 40.79 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-05/8.65, allocations: 15.95 kB / 3.384 GB, free: 40.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02779/8.678, allocations: 8.637 MB / 3.392 GB, free: 32.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/8.678, allocations: 8.125 kB / 3.392 GB, free: 32.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007459/8.685, allocations: 0.7099 MB / 3.393 GB, free: 31.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.065e-05/8.685, allocations: 12 kB / 3.393 GB, free: 31.32 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006453/8.686, allocations: 79.88 kB / 3.393 GB, free: 31.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/8.686, allocations: 12 kB / 3.393 GB, free: 31.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/8.686, allocations: 3.938 kB / 3.393 GB, free: 31.22 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/8.701, allocations: 3.926 MB / 3.397 GB, free: 27.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00266/8.704, allocations: 0.7704 MB / 3.397 GB, free: 26.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/8.705, allocations: 44 kB / 3.397 GB, free: 26.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005584/8.711, allocations: 271.7 kB / 3.398 GB, free: 26.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007812/8.712, allocations: 157.7 kB / 3.398 GB, free: 25.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004375/8.712, allocations: 95.88 kB / 3.398 GB, free: 25.85 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002997/8.715, allocations: 1.239 MB / 3.399 GB, free: 24.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.32e-07/8.715, allocations: 0 / 3.399 GB, free: 24.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008043/8.723, allocations: 1.312 MB / 3.4 GB, free: 23.27 MB / 0.8855 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 (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.002542/8.726, allocations: 0.6628 MB / 3.401 GB, free: 22.78 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02323/8.749, allocations: 5.674 MB / 3.407 GB, free: 17.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/8.749, allocations: 0 / 3.407 GB, free: 17.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007619/8.757, allocations: 1.827 MB / 3.408 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006948/8.764, allocations: 0.5543 MB / 3.409 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/8.786, allocations: 8.667 MB / 3.417 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002923/8.789, allocations: 2.463 MB / 3.42 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.008946/8.798, allocations: 1.26 MB / 3.421 GB, free: 2.242 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001958/8.8, allocations: 263.2 kB / 3.421 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of SimCode: time 1.353e-06/8.8, allocations: 0 / 3.421 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of Templates: time 0.7421/9.542, allocations: 38.43 MB / 3.459 GB, free: 237 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)