Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.625/1.625, allocations: 297.8 MB / 313.7 MB, free: 104 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000878/0.0008782, allocations: 184.2 kB / 384.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 0.6626 GB, free: 4.277 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007555/0.0007557, allocations: 98.62 kB / 0.7808 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003889, allocations: 11.94 kB / 0.9088 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.6577, allocations: 120.3 MB / 1.026 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.538/4.196, allocations: 1.772 GB / 2.798 GB, free: 66.7 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/4.196, allocations: 107.9 kB / 2.798 GB, free: 66.59 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.8667/5.063, allocations: 173.7 MB / 2.968 GB, free: 245.1 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.356e-06/5.063, allocations: 4.906 kB / 2.968 GB, free: 245.1 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000304/5.064, allocations: 97.56 kB / 2.968 GB, free: 245.1 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1069 * Number of variables: 1069 Notification: Performance of Generate backend data structure: time 0.01403/5.078, allocations: 3.694 MB / 2.972 GB, free: 243.1 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/5.078, allocations: 9.438 kB / 2.972 GB, free: 243.1 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/5.089, allocations: 1.795 MB / 2.974 GB, free: 242.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006479/5.096, allocations: 2.277 MB / 2.976 GB, free: 241.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004651/5.096, allocations: 303.9 kB / 2.976 GB, free: 241.4 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002134/5.099, allocations: 403.8 kB / 2.976 GB, free: 241.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/5.119, allocations: 6.134 MB / 2.982 GB, free: 238.7 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002262/5.119, allocations: 6.594 kB / 2.982 GB, free: 238.7 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/5.121, allocations: 173.9 kB / 2.983 GB, free: 238.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002983/5.121, allocations: 202.3 kB / 2.983 GB, free: 238.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/5.136, allocations: 6.224 MB / 2.989 GB, free: 236.6 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03744/5.174, allocations: 23.16 MB / 3.011 GB, free: 219.6 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008657/5.183, allocations: 3.914 MB / 3.015 GB, free: 217.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00402/5.187, allocations: 1.872 MB / 3.017 GB, free: 216.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007645/5.187, allocations: 0.5053 MB / 3.018 GB, free: 215.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004588/5.192, allocations: 2.088 MB / 3.02 GB, free: 214.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=242): time 7.834e-06/5.192, allocations: 0 / 3.02 GB, free: 214.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=245): time 0.01785/5.21, allocations: 7.14 MB / 3.027 GB, free: 210.5 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/5.21, allocations: 450.6 kB / 3.027 GB, free: 210 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/5.213, allocations: 1.75 MB / 3.029 GB, free: 209 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005791/5.214, allocations: 76.05 kB / 3.029 GB, free: 209 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001555/5.215, allocations: 1.61 MB / 3.03 GB, free: 207.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/5.216, allocations: 0.8256 MB / 3.031 GB, free: 206.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004367/5.217, allocations: 51.41 kB / 3.031 GB, free: 206.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002008/5.217, allocations: 410.1 kB / 3.032 GB, free: 206.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/5.221, allocations: 1.576 MB / 3.033 GB, free: 205.6 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004018/5.225, allocations: 2.309 MB / 3.035 GB, free: 203.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007569/5.232, allocations: 3.907 MB / 3.039 GB, free: 201.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/5.232, allocations: 7.438 kB / 3.039 GB, free: 201.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.008933/5.241, allocations: 4.191 MB / 3.043 GB, free: 199.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002859/5.242, allocations: 0.6146 MB / 3.044 GB, free: 198.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/5.242, allocations: 18.69 kB / 3.044 GB, free: 198.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.841e-05/5.242, allocations: 35.5 kB / 3.044 GB, free: 198.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003576/5.245, allocations: 0.81 MB / 3.045 GB, free: 198.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.537e-05/5.245, allocations: 40.98 kB / 3.045 GB, free: 198.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/5.248, allocations: 388.4 kB / 3.045 GB, free: 197.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003226/5.249, allocations: 139.8 kB / 3.045 GB, free: 197.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/5.249, allocations: 7.75 kB / 3.045 GB, free: 197.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007534/5.256, allocations: 3.76 MB / 3.049 GB, free: 196 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/5.256, allocations: 16.91 kB / 3.049 GB, free: 196 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/5.256, allocations: 33.78 kB / 3.049 GB, free: 196 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003236/5.26, allocations: 0.7729 MB / 3.05 GB, free: 195.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.808e-05/5.26, allocations: 49.73 kB / 3.05 GB, free: 195.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/5.263, allocations: 351.9 kB / 3.05 GB, free: 195.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/5.263, allocations: 136.5 kB / 3.05 GB, free: 195.5 MB / 0.9792 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 (338): * Single equations (assignments): 338 * 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.002564/5.266, allocations: 1.249 MB / 3.052 GB, free: 194.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006278/5.266, allocations: 231.3 kB / 3.052 GB, free: 194.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00914/5.275, allocations: 4.199 MB / 3.056 GB, free: 192.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/5.275, allocations: 28.53 kB / 3.056 GB, free: 192.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/5.275, allocations: 3.469 kB / 3.056 GB, free: 192.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/5.275, allocations: 15.94 kB / 3.056 GB, free: 192.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/5.291, allocations: 8.77 MB / 3.064 GB, free: 184.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/5.291, allocations: 0 / 3.064 GB, free: 184.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003335/5.294, allocations: 0.7334 MB / 3.065 GB, free: 183.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.145e-05/5.294, allocations: 12 kB / 3.065 GB, free: 183.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002373/5.295, allocations: 67.94 kB / 3.065 GB, free: 183.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.221e-05/5.295, allocations: 15.98 kB / 3.065 GB, free: 183.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/5.295, allocations: 0 / 3.065 GB, free: 183.7 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008819/5.303, allocations: 4.013 MB / 3.069 GB, free: 179.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/5.306, allocations: 0.7781 MB / 3.07 GB, free: 178.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008107/5.306, allocations: 52 kB / 3.07 GB, free: 178.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/5.309, allocations: 279.7 kB / 3.07 GB, free: 178.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/5.31, allocations: 161.7 kB / 3.07 GB, free: 178.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/5.31, allocations: 91.88 kB / 3.071 GB, free: 178.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002287/5.312, allocations: 1.272 MB / 3.072 GB, free: 176.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.2e-07/5.312, allocations: 0 / 3.072 GB, free: 176.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005556/5.318, allocations: 1.359 MB / 3.073 GB, free: 175.6 MB / 0.9792 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 (265): * Single equations (assignments): 263 * 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.001777/5.32, allocations: 0.7041 MB / 3.074 GB, free: 175.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01194/5.332, allocations: 5.796 MB / 3.079 GB, free: 169.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/5.332, allocations: 0 / 3.079 GB, free: 169.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003847/5.335, allocations: 1.866 MB / 3.081 GB, free: 167.4 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004519/5.34, allocations: 0.565 MB / 3.082 GB, free: 166.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/5.355, allocations: 8.768 MB / 3.09 GB, free: 158 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003108/5.359, allocations: 2.472 MB / 3.093 GB, free: 155.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007517/5.366, allocations: 1.26 MB / 3.094 GB, free: 154.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/5.368, allocations: 271.2 kB / 3.094 GB, free: 154 MB / 0.9792 GB Notification: Performance of SimCode: time 1.904e-06/5.368, allocations: 7.875 kB / 3.094 GB, free: 154 MB / 0.9792 GB Notification: Performance of Templates: time 0.05954/5.428, allocations: 39.54 MB / 3.133 GB, free: 114.6 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)