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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 293 MB / 309 MB, free: 4.824 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.0009861/0.0009859, allocations: 172.6 kB / 378.7 MB, free: 1.027 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.467/1.467, allocations: 205.4 MB / 0.6383 GB, free: 8.215 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.0007731/0.0007731, allocations: 88.73 kB / 0.7527 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2978, allocations: 116.4 MB / 0.9905 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.749/6.047, allocations: 2.122 GB / 3.112 GB, free: 91.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/6.047, allocations: 104.5 kB / 3.112 GB, free: 91.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.011/7.058, allocations: 164.6 MB / 3.273 GB, free: 224.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.495e-06/7.058, allocations: 4 kB / 3.273 GB, free: 224.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000245/7.058, allocations: 92.77 kB / 3.273 GB, free: 224.5 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.01031/7.068, allocations: 3.652 MB / 3.277 GB, free: 222.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/7.069, allocations: 9.156 kB / 3.277 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/7.079, allocations: 1.725 MB / 3.279 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005066/7.084, allocations: 2.283 MB / 3.281 GB, free: 221.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/7.085, allocations: 298.2 kB / 3.281 GB, free: 221.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/7.086, allocations: 384.5 kB / 3.281 GB, free: 221.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/7.102, allocations: 6.016 MB / 3.287 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/7.102, allocations: 6.875 kB / 3.287 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006671/7.103, allocations: 168.5 kB / 3.287 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/7.103, allocations: 192.1 kB / 3.288 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/7.119, allocations: 6.086 MB / 3.294 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03801/7.157, allocations: 22.88 MB / 3.316 GB, free: 206.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009573/7.167, allocations: 3.95 MB / 3.32 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004061/7.171, allocations: 1.831 MB / 3.322 GB, free: 204.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/7.172, allocations: 0.5094 MB / 3.322 GB, free: 204 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004347/7.176, allocations: 2.043 MB / 3.324 GB, free: 203.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 5.921e-06/7.176, allocations: 0 / 3.324 GB, free: 203.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.01484/7.191, allocations: 7 MB / 3.331 GB, free: 199.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/7.191, allocations: 454.7 kB / 3.331 GB, free: 199.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/7.194, allocations: 1.715 MB / 3.333 GB, free: 198.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005757/7.194, allocations: 73.08 kB / 3.333 GB, free: 198.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001483/7.196, allocations: 1.599 MB / 3.335 GB, free: 197.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009257/7.197, allocations: 0.8101 MB / 3.335 GB, free: 196.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/7.197, allocations: 55.22 kB / 3.336 GB, free: 196.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001431/7.197, allocations: 410.4 kB / 3.336 GB, free: 196.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/7.201, allocations: 1.541 MB / 3.337 GB, free: 195.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004048/7.205, allocations: 2.272 MB / 3.34 GB, free: 194.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006914/7.212, allocations: 3.829 MB / 3.343 GB, free: 192.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/7.212, allocations: 3.906 kB / 3.343 GB, free: 192.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.008675/7.221, allocations: 4.118 MB / 3.347 GB, free: 190.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000298/7.221, allocations: 0.6167 MB / 3.348 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/7.221, allocations: 22.03 kB / 3.348 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.585e-05/7.221, allocations: 30 kB / 3.348 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/7.225, allocations: 0.7946 MB / 3.349 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.577e-05/7.225, allocations: 40.23 kB / 3.349 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003903/7.229, allocations: 381.5 kB / 3.349 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/7.229, allocations: 132.1 kB / 3.349 GB, free: 189.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/7.229, allocations: 3.875 kB / 3.349 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008389/7.237, allocations: 3.686 MB / 3.353 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.141e-05/7.237, allocations: 20.16 kB / 3.353 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.924e-05/7.237, allocations: 30.53 kB / 3.353 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/7.241, allocations: 0.7589 MB / 3.354 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.513e-05/7.241, allocations: 45 kB / 3.354 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/7.244, allocations: 342.4 kB / 3.354 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003346/7.244, allocations: 132.3 kB / 3.354 GB, free: 188.2 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 () * 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.003534/7.248, allocations: 1.244 MB / 3.355 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/7.249, allocations: 231 kB / 3.356 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/7.259, allocations: 4.096 MB / 3.36 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/7.259, allocations: 29.78 kB / 3.36 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/7.259, allocations: 0 / 3.36 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/7.259, allocations: 15.22 kB / 3.36 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/7.279, allocations: 8.641 MB / 3.368 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/7.279, allocations: 3.75 kB / 3.368 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003782/7.283, allocations: 0.704 MB / 3.369 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.164e-05/7.283, allocations: 12.31 kB / 3.369 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003479/7.284, allocations: 72.25 kB / 3.369 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-05/7.284, allocations: 18.77 kB / 3.369 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/7.284, allocations: 4 kB / 3.369 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008732/7.292, allocations: 3.926 MB / 3.373 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/7.294, allocations: 0.7674 MB / 3.374 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009547/7.295, allocations: 42.22 kB / 3.374 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003192/7.299, allocations: 274.9 kB / 3.374 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/7.299, allocations: 152.3 kB / 3.374 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000268/7.299, allocations: 98.42 kB / 3.374 GB, free: 179.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002942/7.302, allocations: 1.24 MB / 3.375 GB, free: 179.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/7.302, allocations: 4 kB / 3.375 GB, free: 179.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007126/7.309, allocations: 1.314 MB / 3.377 GB, free: 179 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 (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.001769/7.311, allocations: 0.6602 MB / 3.377 GB, free: 178.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01305/7.324, allocations: 5.67 MB / 3.383 GB, free: 176.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/7.324, allocations: 2.219 kB / 3.383 GB, free: 176.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003848/7.328, allocations: 1.821 MB / 3.385 GB, free: 176.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00484/7.333, allocations: 0.5505 MB / 3.385 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/7.351, allocations: 8.67 MB / 3.394 GB, free: 171.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003733/7.354, allocations: 2.457 MB / 3.396 GB, free: 170.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008166/7.363, allocations: 1.251 MB / 3.397 GB, free: 170 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/7.364, allocations: 266 kB / 3.397 GB, free: 170 MB / 0.948 GB Notification: Performance of SimCode: time 1.342e-06/7.365, allocations: 0 / 3.397 GB, free: 170 MB / 0.948 GB Notification: Performance of Templates: time 0.06763/7.432, allocations: 38.75 MB / 3.435 GB, free: 135.4 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)